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