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")); }
public List <WebServiceProjectAccomplishments> GetProjectAccomplishments(string returnType, string webServiceToken, int projectID) { return(CommandWrapper(webServiceToken, () => { var filteredProjects = WebServiceProjectAccomplishments.GetProjectAccomplishments(projectID); return filteredProjects; })); }