Esempio n. 1
0
 public UserCreateWebsiteDto(UserCreateWebsiteDto dto)
 {
     this.Name          = dto.Name;
     this.DisplayName   = dto.DisplayName;
     this.Url           = dto.Url;
     this.WebTemplateId = dto.WebTemplateId;
 }
Esempio n. 2
0
 public CreateWebsiteDto(string userId, UserCreateWebsiteDto dto) : base(dto)
 {
     this.Accounts = new List <AddWebsiteAccountDto>()
     {
         new AddWebsiteAccountDto()
         {
             AccessLevels = new List <string>()
             {
                 AccessLevels.Owner.ToString()
             }, AccountId = userId
         }
     };
 }