Beispiel #1
0
 public async Task <Employee> CreateEmployeeAsync(EmployeeCreation newEmployeeData)
 {
     return(_mapper.Map <Models.Employee>(
                await _contactCommand.CreateContactAsync(
                    _mapper.Map <Database.Entities.Contact>(newEmployeeData))));
 }