예제 #1
0
 public void Configure(IServerRoutingTable serverRoutingTable)
 {
     using (var context = new TorshiaDBContext())
     {
         context.Database.EnsureCreated();
     }
 }
예제 #2
0
 public UserService(TorshiaDBContext torshiaDBContext)
 {
     this.context = torshiaDBContext;
 }