Exemple #1
0
 public void EditEmployee(Employee employee)
 {
     Employee empl= Employees.Find(employee.Id);
     empl.Name = employee.Name;
     empl.FullName = employee.FullName;
     empl.AspNetUsersId = employee.AspNetUsersId;
     empl.Email = employee.Email;
     empl.Position = employee.Position;
     empl.RoleId = employee.RoleId;
     empl.PhoneId = employee.PhoneId;
     empl.DateRegistration = employee.DateRegistration;
 }
Exemple #2
0
 public void DellEmpioyee(Employee employee)
 {
     Employees.Remove(employee);
 }
Exemple #3
0
 public void AddEmployee(Employee employee)
 {
     Employees.Add(employee);
 }