Example #1
0
 public static Account Create(IAccountCreateIo input)
 {
     Debug.Assert(input.Id != null, "input.Id != null");
     return new Account
     {
         Id = input.Id.Value,
         LoginName = input.LoginName,
         AllowEndTime = input.AllowEndTime,
         AllowStartTime = input.AllowStartTime,
         AuditState = input.AuditState,
         Description = input.Description,
         IsEnabled = input.IsEnabled,
         LockEndTime = input.LockEndTime,
         LockStartTime = input.LockStartTime,
         Code = input.Code,
         Email = input.Email,
         Mobile = input.Mobile,
         Name = input.Name,
         Nickname = input.Nickname,
         CatalogCode = input.CatalogCode,
         Qq = input.Qq,
         QuickQuery = input.QuickQuery,
         QuickQuery1 = input.QuickQuery1,
         QuickQuery2 = input.QuickQuery2,
         Telephone = input.Telephone,
         Question = input.QuickQuery,
         Password=input.Password,
         BlogUrl = input.BlogUrl
     };
 }
Example #2
0
 public static Account Create(IAccountCreateIo input)
 {
     Debug.Assert(input.Id != null, "input.Id != null");
     return(new Account
     {
         Id = input.Id.Value,
         LoginName = input.LoginName,
         AllowEndTime = input.AllowEndTime,
         AllowStartTime = input.AllowStartTime,
         AuditState = input.AuditState,
         Description = input.Description,
         IsEnabled = input.IsEnabled,
         LockEndTime = input.LockEndTime,
         LockStartTime = input.LockStartTime,
         Code = input.Code,
         Email = input.Email,
         Mobile = input.Mobile,
         Name = input.Name,
         Nickname = input.Nickname,
         CatalogCode = input.CatalogCode,
         Qq = input.Qq,
         QuickQuery = input.QuickQuery,
         QuickQuery1 = input.QuickQuery1,
         QuickQuery2 = input.QuickQuery2,
         Telephone = input.Telephone,
         Question = input.QuickQuery,
         Password = input.Password,
         BlogUrl = input.BlogUrl
     });
 }
 public void AddUser(IAcSession subject, IAccountCreateIo input)
 {
     _acDomain.Handle(new AddAccountCommand(subject, input));
 }
Example #4
0
 public void AddUser(IAcSession subject, IAccountCreateIo input)
 {
     _acDomain.Handle(new AddAccountCommand(subject, input));
 }