shoc-backend/SeaHavenIndustries/Data/IRepository/IContactRepository.cs

14 lines
383 B
C#
Raw Normal View History

2024-09-28 14:58:36 -04:00
using Data.SeaHavenIndustries;
namespace SeaHavenIndustries.Data.IRepository
{
public interface IContactRepository
{
Task<string> AddContact(Contacts contact);
Task<List<Contacts>> GetContacts();
Task<IQueryable<Contacts>> GetContactsiqueryable();
Task<Contacts> GetContactById(int id);
Task<string> DeleteContact(int id);
}
}