Exemplo n.º 1
0
 public static FormDetail Create(int formTypeId, Payment payment, string RoleString, string Person, string Signature)
 {
     FormDetail form = new FormDetail();
     form.FormTypeId = formTypeId;
     form.Payment = payment;
     form.RoleString = RoleString;
     if (string.IsNullOrWhiteSpace(Person) == false)
         form.PersonString = Person;
     if (string.IsNullOrWhiteSpace(Signature) == false)
         form.Signature = Signature;
     return form;
 }
Exemplo n.º 2
0
 public static FormDetail Create(int formTypeId, LoanApplication loanApp, string RoleString, string Person, string Signature)
 {
     FormDetail form = new FormDetail();
     form.FormTypeId = formTypeId;
     form.LoanApplication = loanApp;
     form.RoleString = RoleString;
     if (string.IsNullOrWhiteSpace(Person) == false)
         form.PersonString = Person;
     if (string.IsNullOrWhiteSpace(Signature) == false)
         form.Signature = Signature;
     return form;
 }