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