public async Task <IActionResult> GetProductsAsync() { try { var(IsSuccess, products) = await prod.GetProductAsync(); if (IsSuccess) { return(Ok(products)); } else { return(NotFound()); } } catch (Exception e) { return(NotFound()); } }