SurveyVista/Services/Interaces/IAddressRepository.cs
2024-03-03 13:57:57 +01:00

25 lines
432 B
C#

using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Services.Interaces
{
public interface IAddressRepository
{
List<Address> GetAddresses();
Address GetAddressById(int id);
Task Add(Address address);
void Delete(int id);
void Update(Address address);
Task commitAsync();
}
}