public ActionResult BillAmountDifference(string FromDateString, string TodateString) { MisModel model = new MisModel(); MisPorvider prop = new MisPorvider(); if (string.IsNullOrEmpty(FromDateString)) { FromDateString = DateTime.Now.ToShortDateString(); } if (string.IsNullOrEmpty(TodateString)) { TodateString = DateTime.Now.ToShortDateString(); } model.BillAmountDifferenceModelList = prop.GetBillingAmountDifference(FromDateString, TodateString); return(View(model)); }