public ViewCreateTemplateSchedule() { departmentProxy = new DepartmentProxy(); InitializeComponent(); LoadDeparmentList(); NoOfWeeks.ItemsSource = new int[] { 1, 2, 3, 4 }; }
public CreateScheduleView() { departmentProxy = new DepartmentProxy(); InitializeComponent(); BtnGenerateSchedule.IsEnabled = false; BtnPublishSchedule.IsEnabled = false; BindData(); }
public UpdateEmployeeView() { departmentProxy = new DepartmentProxy(); InitializeComponent(); LoadDepartmentList(); UpdateEmployeeClicked(); empProxy = new EmployeeProxy(); }
public ViewEditTemplateSchedule() { InitializeComponent(); TemplateSchedules = new List <TemplateSchedule>(); _departmentProxy = new DepartmentProxy(); _templateProxy = new TemplateScheduleProxy(); BindDataDepartmentcBox(); EventChangesListener(); BtnSaveUpdatedTemplateSchedule.IsEnabled = false; }
public ViewScheduleView() { scheduleProxy = new ScheduleProxy(); departmentProxy = new DepartmentProxy(); InitializeComponent(); BindComboBoxData(); SetOnNewScheduleActive(); EventChangesListener(); HideStartEndTxt(); }
public ActionResult Index() { EmployeeModel employeeModel = new EmployeeModel(); if (Session["employee"] != null) { Employee employee = (Employee)Session["employee"]; Department department = new DepartmentProxy().GetDepartmentById(employee.DepartmentId); employeeModel.Employee = employee; employeeModel.Department = department; } return(View(employeeModel)); }
public void ShowDepartment(DepartmentProxy department) { _frame.Navigate(NoppaUtility.MakeUri("/CourseListPage.xaml", "content", "department", "id", department.Id)); }
public CreateEmployeeView() { departmentProxy = new DepartmentProxy(); InitializeComponent(); LoadDepartmentList(); }