mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
InvitesRepositoryTests
+ other reworks
This commit is contained in:
@@ -6,5 +6,5 @@ public interface IAdminsWriter
|
||||
{
|
||||
Task AddAsync(Admin admin);
|
||||
Task UpdateAsync(Admin admin);
|
||||
Task DeleteAsync(Guid admin);
|
||||
Task RemoveAsync(Guid admin);
|
||||
}
|
||||
@@ -5,7 +5,7 @@ namespace Govor.Core.Repositories.Invaites;
|
||||
public interface IInvitesReader
|
||||
{
|
||||
Task<List<Invitation>> GetAllAsync();
|
||||
Task<Invitation> GetByIdAsync(Guid id);
|
||||
Task<Invitation> GetByCodeAsync(string code);
|
||||
Task<List<Invitation>> GetAdminsInvitesAsync();
|
||||
Task<Invitation> FindByIdAsync(Guid id);
|
||||
Task<Invitation> FindByCodeAsync(string code);
|
||||
Task<List<Invitation>> FindAdminsInvitesAsync();
|
||||
}
|
||||
Reference in New Issue
Block a user