Example #1
0
        public ActionResult PendingSchedule(long ScheduleId)
        {
            CallCycleModel model = new CallCycleModel();

            ViewBag.ScheduleId = ScheduleId;
            return(View(model));
        }
Example #2
0
        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));
        }