public List <crudThoiGianDangKy> GetThoiGianDangKyDK(int nam)
        {
            var action = new bs_QLThoiGianDangKy();
            var result = action.GetThoiGianDangKyDK(nam);

            action.Dispose();

            return(result);
        }
        public crudThoiGianDangKy SearchThoiGianDangKy(int id)
        {
            var action = new bs_QLThoiGianDangKy();
            var result = action.SearchThoiGianDangKy(id);

            action.Dispose();

            return(result);
        }
        public bool CreateThoiGianDangKy(crudThoiGianDangKy obj)
        {
            var action = new bs_QLThoiGianDangKy();
            var result = action.CreateThoiGianDangKy(obj);

            action.Dispose();

            return(result);
        }
        public bool UpdateThoiGianDangKy(crudThoiGianDangKy tgdk)
        {
            var action = new bs_QLThoiGianDangKy();
            var result = action.UpdateThoiGianDangKy(tgdk);

            action.Dispose();

            return(result);
        }
        public bool ChecThoiGianDangKyTrung(crudThoiGianDangKy info)
        {
            var action = new bs_QLThoiGianDangKy();
            var result = (action.ChecThoiGianDangKyTrung(info.NgayKetThuc) && action.ChecThoiGianDangKyTrung(info.NgayBatDau));

            action.Dispose();

            return(result);
        }