Пример #1
0
 public async Task <bool> CheckIfExperianceAlreadyExist(string userId, ExperianceType type)
 {
     return(await _experiancesRepository.CheckIfExperianceAlreadyExist(userId, type));
 }
Пример #2
0
        public async Task <bool> CheckIfExperianceAlreadyExist(string userId, ExperianceType type)
        {
            var result = await DbSet.AnyAsync(x => x.UserId == userId && x.ExperianceType == type);

            return(result);
        }