private bool IsDuplicateName(string _name) { var q = _assettypes.Count(x => x.Name == _name); return(q > 1); }
private bool IsDuplicateName(string _name) { return(SpecificationProperties.Count(x => x.PropertyUnit == _name) > 1); }
private bool IsDuplicateName(string _name) { return(_customers.Count(x => x.Name == _name && x.ID != Customer.ID) > 0); }
private bool IsDuplicateName(string _name) { return(SalesDivisions.Count(x => x.Name == _name) > 1); }
private bool IsDuplicateCode(string _name) { var q = _filteredassetgroups.Count(x => x.AssetGroupIDText == _name); return(q > 1); }