static private string BuildVoucherTypeFilter(SearchVouchersCommand command) { if (command.VoucherTypeUID.Length == 0) { return(string.Empty); } var vocherType = VoucherType.Parse(command.VoucherTypeUID); return($"ID_TIPO_POLIZA = {vocherType.Id}"); }