You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 line
546B

  1. using System.Threading.Tasks;
  2. using Campaign_Tracker.Server.Models;
  3. using Microsoft.EntityFrameworkCore;
  4. namespace Campaign_Tracker.Server.Services;
  5. public interface IMunicipalityAddressService
  6. {
  7. Task<IEnumerable<MunicipalityAddress>> GetAddressesAsync(int municipalityId);
  8. Task<MunicipalityAddress> GetAddressAsync(int id);
  9. Task<MunicipalityAddress> CreateAddressAsync(MunicipalityAddress address);
  10. Task<MunicipalityAddress> UpdateAddressAsync(int id, MunicipalityAddress address);
  11. Task<bool> DeleteAddressAsync(int id);
  12. }

Powered by TurnKey Linux.