예제 #1
0
        public IHttpActionResult DisplayColumnInfo(HttpRequestMessage request, string progId)
        {
            string errorMsg = string.Empty;
            var    result   = BcfTemplateMethods.GetBcfMobileShowScheme(progId, out errorMsg);

            if (!string.IsNullOrEmpty(errorMsg))
            {
                return(BadRequest(errorMsg));
            }
            return(Ok(JsonConvert.DeserializeObject(result)));
        }