mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
InvitationValidator
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using Govor.Core.Infrastructure.Validators;
|
||||
using Govor.Core.Models;
|
||||
using Govor.Core.Repositories.Invaites;
|
||||
|
||||
@@ -5,7 +6,16 @@ namespace Govor.Data.Repositories;
|
||||
|
||||
public class InvitesRepository : IInvitesRepository
|
||||
{
|
||||
public Task<List<Invitation>> GetAllAsync()
|
||||
private GovorDbContext _context;
|
||||
private IObjectValidator<Invitation> _validator;
|
||||
|
||||
public InvitesRepository(GovorDbContext context, IObjectValidator<Invitation> validator)
|
||||
{
|
||||
_context = context;
|
||||
_validator = validator;
|
||||
}
|
||||
|
||||
public async Task<List<Invitation>> GetAllAsync()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user