public ActionResult ProductInventoryReport()
        {
            var model = new InventorySearchConditionReport
            {
                CategoryId = 1
            };

            return(View(model));
        }
Exemple #2
0
        public ActionResult ProductInventoryReport()
        {
            var currentUser = Session[Values.USER_SESSION] as UserModel;
            var model       = new InventorySearchConditionReport
            {
                CategoryId = 1,
                CreatedBy  = currentUser != null ? currentUser.FirstName + " " + currentUser.LastName : string.Empty
            };

            return(View(model));
        }