public AccountController() { serviceUser = new UserService(db); serviceAccount = new AccountService(db, redisC); serviceSMS = new SMSService(redisC); serviceSecuritye = new SecurityeService(redisC); }
public ApiController() { serviceSMS = new SMSService(redisC); serviceSecuritye = new SecurityeService(redisC); serviceUser = new UserService(db); }