// // GET: /Calendar/ public ActionResult Index() { ViewBag.Title = "Calendar"; //this.ControllerContext.RouteData.Values["controller"].ToString(); ViewBag.AssignToList = new SelectList(AppointmentsDAL.getAssignToList(), "CommID", "FullName"); return(View()); }
private void LoadAppointmentCombos() { ViewBag.FenceTypesList = new SelectList(AppointmentsDAL.getFenceTypesList(), "FenceTypeID", "FenceType"); ViewBag.SalesTypeCallList = new SelectList(AppointmentsDAL.getSalesTypeList(), "SalTypeId", "SalType"); ViewBag.StatesList = new SelectList(DataAccess.Entity.Common.getStatesList(), "State", "StateName"); ViewBag.ShowApptTime = new SelectList(AppointmentsDAL.getTime(), "Setup40TimeID", "Setup40Time"); ViewBag.AssignToList = new SelectList(AppointmentsDAL.getAssignToList(), "CommID", "FullName"); }
private void LoadPersonalAppointmentCombos() { ViewBag.ShowApptTime = new SelectList(AppointmentsDAL.getTime(), "Setup40TimeID", "Setup40Time"); ViewBag.AssignToList = new SelectList(AppointmentsDAL.getAssignToList(), "CommID", "FullName"); ViewBag.ApptDescriptions = new SelectList(AppointmentsDAL.getAppointmentDescriptions(), "SALApptDescId", "SALApptDesc"); }