public ActionResult PendingSchedule(long ScheduleId) { CallCycleModel model = new CallCycleModel(); ViewBag.ScheduleId = ScheduleId; return(View(model)); }
public ActionResult Index() { if (!HasContextRole(new string[] { "CRO", "CEO", "DBD", "AVP", "CL" })) { return(RedirectToUnauthorized()); } CallCycleModel model = new CallCycleModel(); ViewBag.FromDate = DateTime.Now.AddDays(-30).ToShortDateString(); ViewBag.ToDate = DateTime.Now.ToShortDateString(); return(View(model)); }