public void Setup() { Db = new UmsDb(); }
public void TearDown() { Db = null; }
public void Tea() { Db = null; }
public StudentsController(IUmsDb db) { Db = db; }
public TokenController(IUmsDb context) { Context = context; }
public AdminController(IUmsDb db) { Db = db; //default db: admin count 1 //mocked db: admin count as you set }
public AdminController() { Db = new UmsDb(); Db.Admins = new List<Admin>(); // admin count 0 }