Beispiel #1
0
        public async Task <string> GetUserStaffName(string steamId)
        {
            var staff = await _repoServiceFactory.StaffRepoService.Find(steamId);

            if (staff == null)
            {
                return(null);
            }
            var level = await _levelService.Find(staff.Level);

            return(level.Name);
        }