public ActionResult OnSetCharges(string datetime, string proprietorName, string tradeNumber, string[] chargeIds) { //return Json(new { datetime = datetime, proprietorName = proprietorName, chargeIds = chargeIds }); return(Json(ChargeDal.SetCharges(datetime, proprietorName, tradeNumber, chargeIds))); }
public ActionResult OnSetCharges(string datetime, string name, string[] chargeIds, string paymentMethod) { //return Json(new { datetime = datetime, proprietorName = proprietorName, chargeIds = chargeIds }); return(Json(ChargeDal.SetCharges(datetime, name, chargeIds, paymentMethod))); }