using VberAdmin.EntityFrameworkCore; namespace VberAdmin.Seed; public class InitialHostDbBuilder { private readonly VberAdminDbContext _context; public InitialHostDbBuilder(VberAdminDbContext context) { _context = context; } public void Create() { new DefaultSettingAndStateCreator(_context).Create(); new DefaultFunctionCreator(_context).Create(); new DefaultRoleAndUserCreator(_context).Create(); _context.SaveChanges(); } }