Exemplo n.º 1
0
 public products GetProducts(products products)
 {
     try
     {
         return(_productRepo.Get((Guid)products.Id));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 2
0
 public async Task <Player> Get(Guid id)
 {
     return(await _repository.Get(id.ToString()));
 }