Example #1
0
 public ActionResult ExpenseSummary(ExpenseSummaryViewModel data)
 {
     if (data.month == 0)
     {
         data.month = DateTime.Today.Month;
         data.year  = DateTime.Today.Year;
     }
     data.OtherExpSummary = Mapper.Map <OtherExpSummary, OtherExpSummaryViewModel>(_otherExpenseBusiness.GetOtherExpSummary(data.month, data.year, data.CompanyName));
     return(PartialView("_ExpenseSummary", data));
 }