package initial

import (
	"git.gocasts.ir/ebhomengo/niki/repository/mysql"
	adminauthorizationservice "git.gocasts.ir/ebhomengo/niki/service/admin/authorization"
)

type AdminAuthorization struct {
	AdminAuthorizationSvc adminauthorizationservice.Service
}

func InitAdminAuthorizationService(db *mysql.DB) adminauthorizationservice.Service {
	return adminauthorizationservice.New(InitAdminMysql(db))
}
