public ActionResult GetAllProducts() { var conn = new ProductsDbContext(); var productsList = conn.GetProducts(); return(Ok(productsList)); }
public ActionResult GetAllProducts() { var conn = new ProductsDbContext(); var productsList = conn.GetProducts(); return(Ok(productsList)); }