Exemple #1
0
 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
     });
 }
Exemple #2
0
 public PlanningItem(CD.PlanningItem item) : this(item.Id, item.Name, item.StartDate, item.EndDate, item.EmployeeId, item.Type)
 {
 }