Beispiel #1
0
        public ActionResult LoadStockInhand(int Cat, int SubCat)
        {
            var status = "error";

            try
            {
                if (!Authenticated)
                {
                    status = "Session Expired";
                }
                else
                {
                    var obj = db.GetStockInHandReport(Cat, SubCat);
                    status = JsonConvert.SerializeObject(obj);
                }
            }
            catch (Exception ex)
            {
                ApplicationExceptionLogging(ex.Message, ex.StackTrace, "ReportsController", "LoadSellingItems");
            }
            return(Content(status));
        }