public AdminController(IOptions <AppSettings> config, UrlForwardingDbContext context) { _appsetting = config.Value; entity = context; }
public HomeController(UrlForwardingDbContext context) { entity = context; }