Exemplo n.º 1
0
 public static async Task <List <ProjectInsight.Models.Tasks.Task> > GetByProject(Guid guid)
 {
     try
     {
         //return await client.GetByProjectAsync(guid, modelProperties: new ProjectInsight.Models.Base.ModelProperties("default,Description,UserCreated,UserAssignedBy,UserAssignedTo,WorkPercentCompleteType,StartDateTimeUserLocal,EndDateTimeUserLocal,WorkHours,DurationSeconds,Project"));
         return(await client.GetByProjectAsync(guid, modelProperties : new ProjectInsight.Models.Base.ModelProperties("default,TaskOwner_Id,TaskOwner,WorkPercentCompleteType,StartDateTimeUserLocal,EndDateTimeUserLocal,TaskScheduleCurrentState;User:FirstName,LastName")));
     }
     catch (Exception ex)
     {
         //AuthenticationService.Logout();
         return(null);
     }
 }