Example #1
0
 public async Task <TEntity> DeleteItem(Guid id)
 {
     return(await MutateRepository.DeleteAsync(await QueryRepository.GetByIdAsync(id)));
 }
Example #2
0
 public async Task <ActionResult <TEntity> > GetItem(Guid id)
 {
     return(await QueryRepository.GetByIdAsync(id));
 }