//
        // GET: /Editorial/Details/5

        public ActionResult Details(int id)
        {
            try {
                Editorial e = EditorialBLL.Get(id);
                if (e != null)
                {
                    return(View(EditorialBLL.Get(id)));
                }
                else
                {
                    return(View("~/Views/Shared/Error.cshtml", new Models.ManejadorError("Nulo", "", "", "", "")));
                }
            } catch (Exception ex) {
                return(View("~/Views/Shared/Error.cshtml", new Models.ManejadorError(ex)));
            }
        }
        //
        // GET: /Editorial/Edit/5

        public ActionResult Edit(int id)
        {
            try {
                ViewBag.Paises = BLL.PaisBLL.ListActivos();
                Editorial e = EditorialBLL.Get(id);
                if (e != null && ViewBag.Paises != null)
                {
                    return(View(e));
                }
                else
                {
                    return(View("~/Views/Shared/Error.cshtml", new Models.ManejadorError("Nulo", "", "", "", "")));
                }
            } catch (Exception ex) {
                return(View("~/Views/Shared/Error.cshtml", new Models.ManejadorError(ex)));
            }
        }