Exemplo n.º 1
0
        public ActionResult GetProjectAccomplishments(WebServiceReturnTypeEnum webServiceReturnTypeEnum, WebServiceToken webServiceToken, ProjectPrimaryKey projectPK)
        {
            var projects = WebServiceProjectAccomplishments.GetProjectAccomplishments(projectPK.PrimaryKeyValue);
            var gridSpec = new WebServiceProjectAccomplishmentsGridSpec();

            return(GetResultsAsCsvDowloadOrJsonResult(webServiceReturnTypeEnum, projects, gridSpec, "ProjectAccomplishments"));
        }
Exemplo n.º 2
0
 public List <WebServiceProjectAccomplishments> GetProjectAccomplishments(string returnType, string webServiceToken, int projectID)
 {
     return(CommandWrapper(webServiceToken, () =>
     {
         var filteredProjects = WebServiceProjectAccomplishments.GetProjectAccomplishments(projectID);
         return filteredProjects;
     }));
 }