public teamsController(ITeamsMock teamsMock)
 {
     //if we pass a mock object to the constructor, we are unit testing so no db
     this.db = teamsMock;
 }
 public teamsController()
 {
     //if nothing passed to constructor, connect to the db (this is the default)
     this.db = new EFTeams();
 }