Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MyModel {
- public Boolean FieldOne {get; set;}
- public Boolean FieldTwo {get; set;}
- public Boolean FieldThree {get; set;}
- public Boolean FieldFour {get; set;}
- public Boolean FieldFive {get; set;}
- }
- // current implementation
- public class SomeBLClass {
- public NewModel MethodToCleanMyModel(MyModel model){
- if(FieldOne){
- SomeLogicOne();
- }
- if(FiendWto){
- SomeLogicTwo();
- }
- ...
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement