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