public PostsController(AppDb db) { Db = db; userQuery = new UserDbQuery(Db); postQuery = new PostDbQuery(Db); authorizationQuery = new AuthorizationQuery(Db); threadQuery = new ThreadDbQuery(Db); locationQuery = new LocationQuery(Db); }
public PostDbQuery(AppDb db) { Db = db; userQuery = new UserDbQuery(Db); }
public UsersController(AppDb db) { Db = db; userQuery = new UserDbQuery(Db); authorizationQuery = new AuthorizationQuery(Db); }