public override SuatChieuPhim Convert(object input)
        {
            CGVFilmInfo   info   = (CGVFilmInfo)input;
            SuatChieuPhim result = new SuatChieuPhim();

            result.TenPhim      = info.Title;
            result.TenRap       = info.Cinema;
            result.NgayGioChieu = info.StartTime;
            result.MaSoPhong    = -1;
            return(result);
        }
Esempio n. 2
0
        public override SuatChieuPhim Convert(object input)
        {
            ThongTinFilmLotteCinema info   = (ThongTinFilmLotteCinema)input;
            SuatChieuPhim           result = new SuatChieuPhim();

            result.TenPhim      = info.TenPhim;
            result.TenRap       = info.TenRap;
            result.NgayGioChieu = ConvertFromStringsToDateTime(info.NgayChieu, info.GioChieu);
            result.MaSoPhong    = info.PhongChieu;
            return(result);
        }