Exemplo n.º 1
0
 public Employee Add(Employee employee)
 {
     if (employee.User != null)
     {
         employee.User.Password = PasswordHelper.GetHash(employee.User.Password);
     }
     return(employeeStorage.Add(employee));
 }