using RMuseum.Models.Ganjoor; using RSecurityBackend.Models.Generic; using System.Threading.Tasks; namespace RMuseum.Services { /// /// geo location service /// public interface IGeoLocationService { /// /// add new location /// /// /// /// /// Task> AddLocationAsync(string name, double x, double y); /// /// update an existing location /// /// /// Task> UpdateLocationAsync(GanjoorGeoLocation updated); /// /// delete location /// /// /// Task> DeleteLocationAsync(int id); /// /// get location by id /// /// /// Task> GetLocationAsync(int id); /// /// get all locations /// /// Task> GetLocationsAsync(); } }