public ActionResult GetDayWork(int iUserCode = 0, string To = "", string From = "") { clsSubmitModel oSubmit = new clsSubmitModel(); List <clsDayWork> lstUser = oSubmit.GetDayWork(iUserCode, To, From, SessionMaster.CompCode); return(PartialView("_DayWork", lstUser)); }