コード例 #1
0
        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"));
        }
コード例 #2
0
 public List <WebServiceProjectDescription> GetProjectDescription(string returnType, string webServiceToken, int projectID)
 {
     return(CommandWrapper(webServiceToken, () =>
     {
         var filteredProjects = WebServiceProjectDescription.GetProjectDescription(projectID);
         return filteredProjects;
     }));
 }