public ActionResult Login(string nombreUsuario = "", string password = "")
        {
            ViewBag.Respuesta = null;
            if (Request.HttpMethod == "POST")
            {
                if (nombreUsuario == string.Empty || password == string.Empty)
                {
                    ViewBag.Respuesta = "Usuario y password son requeridos";
                    return(View());
                }

                password = Funcion.ConvertirBase64(nombreUsuario + password);
                Gerente gerente = Metodo.GetLoginGerente(password);
                if (gerente.NombreUsuario != null && gerente.NombreUsuario != string.Empty)
                {
                    System.Web.HttpContext.Current.Session["Usuario"] = gerente.NombreUsuario;
                    System.Web.HttpContext.Current.Session["Gerente"] = gerente.NombreUsuario;
                    System.Web.HttpContext.Current.Session["Rol"]     = gerente.Rol;
                    return(RedirectToAction("MainManager", "Manager"));
                }
            }
            return(View());
        }