20 lines
440 B
C#
20 lines
440 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using weddingapi.Models;
|
|
|
|
namespace weddingapi.Repositories
|
|
{
|
|
public interface IContactRepository
|
|
{
|
|
Task<Contact> GetContactAsync(Guid id);
|
|
|
|
Task<IEnumerable<Contact>> GetContactsAsync();
|
|
|
|
Task CreateContactAsync(Contact family);
|
|
|
|
Task UpdateContactAsync(Contact family);
|
|
|
|
Task DeleteContactAsync(Guid id);
|
|
}
|
|
} |