Skip to content

Commit

Permalink
(#87) update organizer repository
Browse files Browse the repository at this point in the history
  • Loading branch information
eggwhat committed Apr 25, 2024
1 parent eae116c commit c5636cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ public interface IOrganizerRepository
Task<Organizer> GetAsync(Guid id);
Task<bool> ExistsAsync(Guid id);
Task AddAsync(Organizer student);
Task DeleteAsync(Guid id);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ public async Task<Organizer> GetAsync(Guid id)
}
public Task<bool> ExistsAsync(Guid id) => _repository.ExistsAsync(o => o.Id == id);
public Task AddAsync(Organizer organizer) => _repository.AddAsync(organizer.AsDocument());
public Task DeleteAsync(Guid id) => _repository.DeleteAsync(id);
}
}

0 comments on commit c5636cb

Please sign in to comment.