示例#1
0
 public Client(Guid guid, string name, string surname, AccountGuid accountGuid)
 {
     this.Name    = name;
     this.guid    = guid;
     this.Surname = surname;
     this.account = accountGuid;
 }
示例#2
0
        public ApiAccountModel ToApiAccountModel()
        {
            ApiAccountModel apiModel = new ApiAccountModel()
            {
                AccountGuid = AccountGuid.ToString(),
                DisplayName = DisplayName,
                Email       = Email,
                Name        = Username
            };

            return(apiModel);
        }