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