Exemplo n.º 1
0
        public ActionResult DeleteSesion(int id, String name)
        {
            String path = Server.MapPath("~/images/Sesion");

            ToolImage.DeleteFolder(path, name);
            this.repoSesion.DeleteSesion(id);

            return(RedirectToAction("Sesion"));
        }
Exemplo n.º 2
0
        public ActionResult DeleteSesion(int id, String name)
        {
            String path = prov.MapPath(Folders.Session, name);

            ToolImage.DeleteFolder(path);
            this.repoSesion.DeleteSesion(id);

            return(RedirectToAction("Sesion"));
        }