public ActionResult Delete(RoleDeleteModel model)
        {
            if (model.Confirmation == true && ModelState.IsValid)
            {
                Role role = Role.AsQueryable().Where(x => x._id == model.Id).FirstOrDefault();

                if (role == null) return HttpNotFound();

                role.Delete();

                return RedirectToAction("Index");
            }

            return View(model);
        }
        public ActionResult Delete(RoleQueryModel query_model)
        {
            Role role = Role.AsQueryable().Where(x => x._id == query_model.Id).FirstOrDefault();

            if (role != null)
            {
                RoleDeleteModel model = new RoleDeleteModel();
                model.Id = role._id;
                model.Name = role.Name;

                return View(model);
            }

            return HttpNotFound();
        }