Move SmsRepository from controller to service.