Ejemplo n.º 1
0
        public ActionResult ProductInventoryReport()
        {
            var model = new InventorySearchConditionReport
            {
                CategoryId = 1
            };

            return(View(model));
        }
Ejemplo n.º 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));
        }