示例#1
0
        public ActionResult GetProjectSimpleLocationCoordinates(WebServiceReturnTypeEnum webServiceReturnTypeEnum, WebServiceToken webServiceToken)
        {
            EnsureThatWebServiceTokenIsValidForUse(webServiceToken);
            var projectSimpleLocationCoordinates = WebServiceProjectSimpleLocationCoordinates.GetProjectSimpleLocationCoordinates();
            var gridSpec = new WebServiceProjectSimpleLocationCoordinatesGridSpec();

            return(GetResultsAsCsvDowloadOrJsonResult(webServiceReturnTypeEnum, projectSimpleLocationCoordinates, gridSpec, "ProjectSimpleLocationCoordinates"));
        }
示例#2
0
        public List <WebServiceProjectSimpleLocationCoordinates> GetProjectSimpleLocationCoordinates(string returnType, string webServiceToken)
        {
            var filteredProjects = WebServiceProjectSimpleLocationCoordinates.GetProjectSimpleLocationCoordinates();

            return(filteredProjects);
        }