示例#1
0
        /// <summary>
        /// Tìm kiếm cấc ngy có xuất chiếu trong 1 khoảng thời gian
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public JsonResult SearchDayshowByPeriod([FromBody] SearchDayRequests model)
        {
            var days = new List <Dayshow>();

            days = ApiHelper <List <Dayshow> > .HttpPostAsync($"{Helper.ApiUrl}api/Showing/SearchDayshowByPeriod", model);

            return(Json(new { days }));
        }
示例#2
0
        /// <summary>
        /// Tìm kiếm film trong 1 khoảng thời gian
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public JsonResult GesFilmByPeriod([FromBody] SearchDayRequests model)
        {
            var films = new List <Film>();

            films = ApiHelper <List <Film> > .HttpPostAsync($"{Helper.ApiUrl}api/film/GetFilmsByPeriod", model);

            return(Json(new { films }));
        }