Files
aviq-boilerplate/CityInfo.WEB/Services/IPointOfInterestDataService.cs
T
2026-03-22 01:10:14 +01:00

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);
}
}