public EmployeesToView(OfficeLibrary.Employees employees) { if (employees == null) { return; } Login = employees.Login; Name = employees.Name; Surname = employees.Surname; Birthday = employees.Birthday; Security = employees.Security; Position = employees.Position; Hiring_Time = employees.Hiring_Time; Status = Status.Indefined; }
public EmployeesToView(OfficeLibrary.Employees employees, Status status) : this(employees) { Status = status; }