Add contact controller

This commit is contained in:
Julian
2022-05-14 20:19:41 +02:00
parent df8be1672e
commit 9e38cfd25d
10 changed files with 212 additions and 16 deletions

View File

@@ -0,0 +1,20 @@
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);
}
}