Example #1
0
        public void Price(int id, [FromBody] DataRequest <Int64, List <ProductPrice> > values)
        {
            string data    = values.Value1.SerializeObject <ProductPrice>();
            Int64  groupId = values.Value;

            _productPrice.Update(id, groupId, data, (int)Enums.PriceType.Sell, RequestContext.Principal.Identity.Name);
        }
Example #2
0
 public static bool Update(int productId, string tableName, ProductPriceInfo productPriceInfo)
 {
     return(dal.Update(productId, tableName, productPriceInfo));
 }