示例#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;
 }
示例#2
0
 public void DellEmpioyee(Employee employee)
 {
     Employees.Remove(employee);
 }
示例#3
0
 public void AddEmployee(Employee employee)
 {
     Employees.Add(employee);
 }