Пример #1
0
 /// <summary>
 /// Resets the database context
 /// </summary>
 protected override void ResetContext()
 {
     base.ResetContext();
     this.hManager = new HobbyManager(this.context);
     this.uManager = new UserManager(this.context);
 }
Пример #2
0
 public HobbyController(GeneralContext context) : base(context)
 {
     this.hManager = new HobbyManager(context);
 }