public async Task <IActionResult> Get() { // return Ok(new string[] { "Product1", "Product2" }); return(Ok(await _productsManager.GetProductsAsync())); }
public async Task <IActionResult> Get() { // return Ok(new string[] { "Product1", "Product2" }); return(Ok(await _productsManager.GetProductsAsync())); }