Exemplo n.º 1
0
        public ActionResult GetProductlistbySupplierId(string supplierId)
        {
            var identity   = (LoginIdentity)Thread.CurrentPrincipal.Identity;
            var serializer = new JavaScriptSerializer()
            {
                MaxJsonLength = int.MaxValue
            };
            var data = serializer.Serialize(_rawSqlService.GetProductlistbySupplierId(identity.CompanyId, identity.BranchId, supplierId));

            return(Json(data));
        }