Ejemplo n.º 1
0
        public ActionResult Diario(DiarioStockModel model)
        {
            var aux    = model as IToolbar;
            var helper = ContextService.GetUrlHelper();

            aux.Toolbar                  = new ToolbarListadosModel();
            aux.Toolbar.Titulo           = "Diario de stock";
            aux.Toolbar.Acciones         = HelpItem();
            aux.Toolbar.CustomAction     = true;
            aux.Toolbar.CustomActionName = helper.Action("Index");
            model.Context                = ContextService;
            Session["_diario_"]          = model;
            return(View(model));
        }