public JsonResult ThemNguoiDung(int NhomNguoiDungId, int[] dsNguoiDung)
        {
            CanBoThuocNhomNguoiDungService _service = new CanBoThuocNhomNguoiDungService();
            var data = _service.ThemNguoiDungVaoNhom(NhomNguoiDungId, dsNguoiDung);

            return(Json(data, JsonRequestBehavior.AllowGet));
        }
        public JsonResult XoaNguoiDung(int NhomNguoiDungId, int NguoiDungId, bool?XoaTatCa)
        {
            CanBoThuocNhomNguoiDungService _service = new CanBoThuocNhomNguoiDungService();
            var result = false;

            if (XoaTatCa == true)
            {
                result = _service.XoaNguoiDung(NhomNguoiDungId);
            }
            else
            {
                result = _service.XoaNguoiDung(NhomNguoiDungId, NguoiDungId);
            }
            return(Json(result, JsonRequestBehavior.AllowGet));
        }