Beispiel #1
0
        public void Edit(EmployeeSettingsDto employeeSettingsDto)
        {
            var dbEntity = this.MapToEntity(employeeSettingsDto);

            this.employeeSettingsData.Edit(dbEntity);
        }
Beispiel #2
0
 private EmployeeSettings MapToEntity(EmployeeSettingsDto employeeSettingsDto)
 {
     return(ToEntityMapper.Map <EmployeeSettings>(employeeSettingsDto));
 }
Beispiel #3
0
 public EmployeeSettingsViewModel ConvertToViewModel(EmployeeSettingsDto employeeSettingsDto)
 {
     return(ToViewModelMapper.Map <EmployeeSettingsViewModel>(employeeSettingsDto));
 }