initial commit
This commit is contained in:
20
Repositories/IFamilyRepository.cs
Normal file
20
Repositories/IFamilyRepository.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using weddingapi.Models;
|
||||
|
||||
namespace weddingapi.Repositories
|
||||
{
|
||||
public interface IFamilyRepository
|
||||
{
|
||||
Task<Family> GetFamilyAsync(Guid id);
|
||||
|
||||
Task<IEnumerable<Family>> GetFamiliesAsync();
|
||||
|
||||
Task CreateFamilyAsync(Family family);
|
||||
|
||||
Task UpdateFamilyAsync(Family family);
|
||||
|
||||
Task DeleteFamilyAsync(Guid id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user