public ActionResult GetRequestWareSummary()
        {
            var lst = _da.GetRequestWareSummary(Request);
            var obj = new ModelDNRequestWareHouseItem {
                ListItems = _da.GetRequestWareSummary(Request), PageHtml = _da.GridHtmlPage
            };

            return(Json(obj, JsonRequestBehavior.AllowGet));
        }
Beispiel #2
0
        public void TestMethod3()
        {
            HttpRequest request         = new HttpRequest("", "http://localhost", "a=1");
            var         httpRequestBase = new HttpRequestWrapper(request);
            var         a = new StorageWareHouseDA();
            var         b = a.GetRequestWareSummary(httpRequestBase);
            //  var query = from c in a.StorageWarehousings;

            //  var c1 = a.StorageWarehousings.Where(m => m.ID == 1).FirstOrDefault();
            // var b = query.FirstOrDefault();
        }