internal static G.PlanningItem ToGlobal(this C.PlanningItem planning) { return(new G.PlanningItem() { Id = planning.Id, Name = planning.Name, StartDate = planning.StartDate, EndDate = planning.EndDate, EmployeeId = planning.EmployeeId, Type = planning.Type }); }
public PlanningItem(CD.PlanningItem item) : this(item.Id, item.Name, item.StartDate, item.EndDate, item.EmployeeId, item.Type) { }