public override async Task Remove() { var exhibit = await _exhibitRepository.Get(_exhibit.Id); IsOwner(exhibit); await _exhibitRepository.Delete(_exhibit.Id); }
public async Task Delete(Guid exhibitId) { await TryFindExhibit(exhibitId); await _exhibitRepository.Delete(exhibitId); }