Пример #1
0
        public bool CheckUserHasVips(string username, int vipsToCheck)
        {
            var userVips = _getUsersVipCountRepository.GetVips(username);

            return(userVips >= vipsToCheck);
        }
Пример #2
0
 public int Get(string username)
 {
     return(_getUsersVipCountRepository.GetVips(username));
 }