public Department(Unit unit) { Name = unit.Name; Manager = unit.Manager; Email = unit.Email; Phone = unit.Phone; Web = unit.Web; Employees = new List<Employee>(); Wards = new List<Ward>(); }
public Ward(Unit unit) { Name = unit.Name; Manager = unit.Manager; Email = unit.Email; Phone = unit.Phone; Web = unit.Web; // Employees = new List<Employee>(); Procedures = new List<ProcedureType>(); }
public object Clone() { Unit unit = new Unit(this.Name, this.Manager, this.Email, this.Phone, this.Web); unit.Employees = this.Employees; return unit; }
public EditUnitView(ApplicationManager appMgr) { unit = new Unit(); employees = new ObservableCollection<Employee>(); var empList = appMgr.ApplicationDb.Employees.ToList(); }
public UnitView(Unit unit) { Units = new ObservableCollection<UnitView>(); Reference = unit; }