public ProductModel Add(ProductModel model) { return(_repo.Add <ProductModel>("usp_ProductAdd", new { model.BarCode, model.ItemName })); }
public PriceModel Add(PriceModel model) { return(_repo.Add <PriceModel>("usp_PriceAdd", model)); }