/// <summary> /// Handles the UpdateEmployee command /// </summary> /// <param name="command"></param> /// <returns></returns> public async Task HandleAsync(UpdateEmployeeCommand command) { var employeeDto = EmployeeDto.UpdateEmployee(command.Matricule, command.FirstName, command.LastName, command.BirthDate, command.Email, command.Password); await _employeeDal.UpdateEmployeeAsync(employeeDto); }