// NewService creates a new instance of this service
NewService creates a new instance of this service
// NewService creates a new instance of this service
func NewService(userRepo user.Repository, siteConfigsRepo siteconfigs.
	Repository, userRecordRepository records.Repository,
	db *mongo.Database, rdb *redis.Client,
	teleBot *tgbotapi.BotAPI) ApplicationService {
	return &applicationService{
		userRepository:       userRepo,
		siteConfigRepository: siteConfigsRepo,
		userRecordRepository: userRecordRepository,
		db:                   db,
		rdb:                  rdb,
		telegramBotApi:       teleBot,
	}
}
func NewService ( userRepo user . Repository , siteConfigsRepo siteconfigs . Repository , userRecordRepository records . Repository , db * mongo . Database , rdb * redis . Client , teleBot * tgbotapi . BotAPI ) ApplicationService { return & applicationService { userRepository : userRepo , siteConfigRepository : siteConfigsRepo , userRecordRepository : userRecordRepository , db : db , rdb : rdb , telegramBotApi : teleBot , } }
NewService creates a new instance of this service
NewService creates a new instance of this service