コード例 #1
0
ファイル: Encryptor.cs プロジェクト: AzatKalim/test-ex
 public Encryptor()
 {
     Database.SetInitializer(new System.Data.Entity.DropCreateDatabaseAlways <Context>());
     context = new Context("dbContext");
     savior  = new SaviorMessagesInDb(context.Messages);
     FillReplacements();
 }
コード例 #2
0
 public HomeController(ITourRepository repo, ISavior save)
 {
     repository = repo;
     savior     = save;
 }