public ActionResult GetProjectDescription(WebServiceReturnTypeEnum webServiceReturnTypeEnum, WebServiceToken webServiceToken, ProjectPrimaryKey projectPK) { var projects = WebServiceProjectDescription.GetProjectDescription(projectPK.PrimaryKeyValue); var gridSpec = new WebServiceProjectDescriptionGridSpec(); return(GetResultsAsCsvDowloadOrJsonResult(webServiceReturnTypeEnum, projects, gridSpec, "ProjectDescription")); }
public List <WebServiceProjectDescription> GetProjectDescription(string returnType, string webServiceToken, int projectID) { return(CommandWrapper(webServiceToken, () => { var filteredProjects = WebServiceProjectDescription.GetProjectDescription(projectID); return filteredProjects; })); }