Esempio n. 1
0
        public ActionResult GetProjectKeyPhoto(WebServiceReturnTypeEnum webServiceReturnTypeEnum, WebServiceToken webServiceToken, ProjectPrimaryKey projectPK)
        {
            var projects = WebServiceProjectKeyPhoto.GetProjectKeyPhoto(projectPK.PrimaryKeyValue);
            var gridSpec = new WebServiceProjectKeyPhotoGridSpec();

            return(GetResultsAsCsvDowloadOrJsonResult(webServiceReturnTypeEnum, projects, gridSpec, "ProjectKeyPhoto"));
        }
Esempio n. 2
0
 public List <WebServiceProjectKeyPhoto> GetProjectKeyPhoto(string returnType, string webServiceToken, int projectID)
 {
     return(CommandWrapper(webServiceToken, () =>
     {
         var filteredProjects = WebServiceProjectKeyPhoto.GetProjectKeyPhoto(projectID);
         return filteredProjects;
     }));
 }