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