public EmployeeViewModel(Employee employee, Controller controller)
 {
     _employee = employee;
     _controllerHelper = new ControllerHelper(controller);
 }
 public EmployeeEditorModel(Employee employee)
 {
     PageTitle = StringHelper.ConnectStrings(" ", employee.TitleOfCourtesy, employee.FirstName, employee.LastName);
     Mapper.CreateMap<Employee, EmployeeEditorModel>();
     Mapper.Map(employee, this);
 }
 public EmployeeEditorModel(Employee employee)
 {
     PageTitle = StringHelper.ConnectStrings(" ", employee.TitleOfCourtesy, employee.FirstName, employee.LastName);
     ObjectHelper.CopyPropertiesValueFromBaseType(employee, this);
 }