public CounterpartyType(ETypeCounterparties type, string description) { Id = type; Description = description; }
public static ExpressionSpecification <Counterparty> GetCounterpartiesByType(ETypeCounterparties type) { return(new ExpressionSpecification <Counterparty>(obj => obj.WhoIsIt == type)); }