public static void UpdateProduct(this UOW uow, Product product) => ctx.Sp_UpdateProduct(product.Id, product.Product_Name, product.Product_Price, product.Product_Discount, product.Quantity_In_Stock, product.Pecies_Per_Unit, product.Unit_Weight, product.Product_Description, product.Category_Id);
public static ObjectResult <Sp_GetProducts_Result> GetProduct(this UOW uow) => ctx.Sp_GetProducts();