public async Task <IActionResult> SuaThuongHieu(int id, ThemThuongHieuViewModel model)
        {
            var nxb = await context.ThuongHieu.FindAsync(id);

            nxb.TenThuongHieu = model.TenThuongHieu;
            context.ThuongHieu.Update(nxb);
            await context.SaveChangesAsync();

            return(RedirectToAction(nameof(Index)));
        }
        public async Task <IActionResult> ThemThuongHieu(ThemThuongHieuViewModel model)
        {
            var nxb = new ThuongHieu
            {
                TenThuongHieu = model.TenThuongHieu,
            };
            await context.ThuongHieu.AddAsync(nxb);

            await context.SaveChangesAsync();

            return(RedirectToAction(nameof(Index)));
        }