public MicropostsController(MicropostContext db) { Db = db; }
public UsersController(MicropostContext context, PasswordHasher pwHash) { Db = context; PasswordHasher = pwHash; }
public AuthenticationController(MicropostContext db, IConfiguration config, PasswordHasher hasher) { Db = db; Configuration = config; PasswordHasher = hasher; }