Ejemplo n.º 1
0
        public ActionResult GetOrganizations(WebServiceReturnTypeEnum webServiceReturnTypeEnum, WebServiceToken webServiceToken)
        {
            var organizations = WebServiceOrganization.GetOrganizations();
            var gridSpec      = new WebServiceOrganizationGridSpec();

            return(GetResultsAsCsvDowloadOrJsonResult(webServiceReturnTypeEnum, organizations, gridSpec, "Organizations"));
        }
Ejemplo n.º 2
0
 public List <WebServiceOrganization> GetOrganizations(string returnType, string webServiceToken)
 {
     return(CommandWrapper(webServiceToken, () =>
     {
         var filteredProjects = WebServiceOrganization.GetOrganizations();
         return filteredProjects;
     }));
 }