public void Configure(IServerRoutingTable serverRoutingTable) { using (var context = new TorshiaDBContext()) { context.Database.EnsureCreated(); } }
public UserService(TorshiaDBContext torshiaDBContext) { this.context = torshiaDBContext; }