Click here to Skip to main content
15,744,817 members

Comments by VahagnDanielyan (Top 1 by date)

VahagnDanielyan 22-Jan-21 13:35pm View    
I can have ResponseCode and OTP in the first RequestModel.Transaction and doing that I'm having just one model for 2 requests and 2 response but I think it's not a good approach in oop, I'm searching for a more clean solution using interfaces and/or abstract classes and/or nested classes because Institute, Client, Account, Device are part of Participant and they must be hidden from other parts of the program, also they have same id and type properties (duplicate code), I have a feeling that these models architects are bad, maybe I'm wrong I don't know.