public void Apply(Issuance i)
 {
     i.Type = Type;
     i.Account = Account;
     i.FixedIssuance = FixedIssuance;
     i.MinIssuance = MinIssuance;
     i.MaxIssuance = MaxIssuance;
     i.DefaultIssuance = DefaultIssuance;
 }
 public static IssuanceEditModel FromDomain(Issuance i)
 {
     i = (i ?? new Issuance());
     return new IssuanceEditModel
                {
                    Type = i.Type,
                    Account = i.Account,
                    FixedIssuance = i.FixedIssuance,
                    MinIssuance = i.MinIssuance,
                    MaxIssuance = i.MaxIssuance,
                    DefaultIssuance = i.DefaultIssuance,
                };
 }