protected override void Dispose(bool disposing) { if (disposing) { if (DbContext != null) { DbContext.Dispose(); DbContext = null; } } base.Dispose(disposing); }
public BasicController(ManagedDbContext context) { DbContext = context; }
public ClientController(ManagedDbContext context) : base(context) { }