Example #1
0
 public void Init()
 {
     if (!InitDB)
     {
         Database.SetInitializer(new ManahostManagerInitializer());
         using (ManahostManagerDAL prectx = new ManahostManagerDAL())
         {
             prectx.Database.Delete();
         }
         InitDB = true;
     }
     st = ControllerUtils.CreateAndAuthenticate();
 }