public bool IsUnique(PropertyUniqueDTO dto) { var exp = Expressions.Unique <T, long>(dto.Id, dto.Property, dto.Value); return(!Repository.Exist(exp)); }
public virtual bool IsUnique([FromQuery] PropertyUniqueDTO dto) { return(EntityService.IsUnique(dto)); }