コード例 #1
0
 public products GetProducts(products products)
 {
     try
     {
         return(_productRepo.Get((Guid)products.Id));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
コード例 #2
0
 public async Task <Player> Get(Guid id)
 {
     return(await _repository.Get(id.ToString()));
 }