public async Task <IActionResult> Index(int page = 1, int count = 12)
        {
            int countRecord = await films.GetCount();

            FilmsIndexViewModel model = new()
            {
                Page = new(countRecord, page, count)
            };

            var items = await films.GetFilmsAsync(page, count);

            if (items.Count > 0)
            {
                model.Films = items
                              .Select(c => new FilmViewModel
                {
                    Id          = c.Id,
                    Name        = c.Name,
                    Description = c.Description,
                    PosterId    = c.PosterId,
                    Producer    = c.Producer != null ? c.Producer.Name : "",
                    Year        = c.Year
                })
                              .ToList();
            }

            return(PartialView(model));
        }