public void Edit(EmployeeSettingsDto employeeSettingsDto) { var dbEntity = this.MapToEntity(employeeSettingsDto); this.employeeSettingsData.Edit(dbEntity); }
private EmployeeSettings MapToEntity(EmployeeSettingsDto employeeSettingsDto) { return(ToEntityMapper.Map <EmployeeSettings>(employeeSettingsDto)); }
public EmployeeSettingsViewModel ConvertToViewModel(EmployeeSettingsDto employeeSettingsDto) { return(ToViewModelMapper.Map <EmployeeSettingsViewModel>(employeeSettingsDto)); }