public async Task <ActionResult <Product> > GetAsync(int?id) { return(await _repository.GetAsync(id)); }
public async Task <ActionResult <Product> > GetAsync(int?id) => await _repository.GetAsync(id);