public InsuranceType GetPolis(InsuranceNameType type, InsurancePeriod period) { return(_dbSet.SingleOrDefault(x => x.InsuranceNameType == type && x.InsurancePeriod == period)); }
public InsuranceType GetType(InsuranceNameType type) { return(_dbSet.SingleOrDefault(x => x.InsuranceNameType == type)); }