public ICollection <TaskModel> GetAllTaskForProject([FromUri] ProjectModel query) { var result = pmService.GetAllTaskForProject(query); Console.WriteLine(result.ToString()); return(result); }