SurveyVista/Services/Interaces/IAddressRepository.cs
2024-03-08 11:20:36 +01:00

25 lines
434 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();
}
}