public async Task <bool> CheckIfExperianceAlreadyExist(string userId, ExperianceType type) { return(await _experiancesRepository.CheckIfExperianceAlreadyExist(userId, type)); }
public async Task <bool> CheckIfExperianceAlreadyExist(string userId, ExperianceType type) { var result = await DbSet.AnyAsync(x => x.UserId == userId && x.ExperianceType == type); return(result); }