예제 #1
0
 internal static C.Project ToClient(this G.Project project)
 {
     if (project == null)
     {
         return(null);
     }
     return(new C.Project(
                project.Id,
                project.Name,
                project.Description,
                project.StartDate,
                project.EndDate,
                project.AdminId,
                project.ProjectManager));
 }
예제 #2
0
 internal static C.Project ToClient(this G.Project entity)
 {
     return(new C.Project(entity.Id, entity.Name, entity.Description, entity.Start,
                          entity.End, entity.CreatorId, entity.ProjectManagerId));
 }