14 lines
574 B
C#
14 lines
574 B
C#
using CityInfo.WEB.Models;
|
|
|
|
namespace CityInfo.WEB.Services
|
|
{
|
|
public interface IPointOfInterestDataService
|
|
{
|
|
public Task<IEnumerable<PointOfInterest>> GetPointsOfInterest(int cityId);
|
|
public Task<PointOfInterest> GetPointOfInterest(int cityId, int pointOfInterestId);
|
|
public Task<PointOfInterest> CreatePointOfInterest(int cityId, PointOfInterest pointOfInterest);
|
|
public Task UpdatePointOfInterest(int cityId, PointOfInterest pointOfInterest);
|
|
public Task DeletePointOfInterest(int cityId, int pointOfInterestId);
|
|
}
|
|
}
|