예제 #1
0
        // GET api/values
        public IHttpActionResult Get(string queryInfo)
        {
            if (string.IsNullOrEmpty(queryInfo))
            {
                return(Ok(false));
            }
            var queryJson = EncryptHelper.Base64Decode(queryInfo);
            var query     = JsonConvert.DeserializeObject <QueryGridProvider>(queryJson);

            ProviderService providerService = new ProviderService();
            var             data            = providerService.GetListProvider(query);

            return(Ok(data));
        }