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

14 lines
588 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<bool> UpdatePointOfInterest(int cityId, PointOfInterest pointOfInterest);
public Task<bool> DeletePointOfInterest(int cityId, int pointOfInterestId);
}
}