Ejemplo n.º 1
0
 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");
 }
Ejemplo n.º 2
0
 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");
 }