Exemplo n.º 1
0
        public OrganizationCreationSPParamDTO(OrganizationCreationDTO organizationConfiguration, string userId)
        {
            Auth0userId             = userId;
            OrganizationName        = organizationConfiguration.OrganizationName;
            OrganizationDisplayName = organizationConfiguration.OrganizationDisplayName;
            OrganizationDescription = organizationConfiguration.OrganizationDescription;
            var json = JsonConvert.SerializeObject(organizationConfiguration.Organization);

            DictonaryList = JsonConvert.DeserializeObject <Dictionary <string, string> >(json);
        }
Exemplo n.º 2
0
 public AssessmentAccountCreationDTO(OrganizationCreationDTO dto, string userID, OrganizationCreationSPResult organizationDetails, string password)
 {
     OrganizationId          = organizationDetails.OrganizationId;
     OrganizationName        = dto.OrganizationName;
     Token                   = dto.Organization["Token"].ToString();
     Auth0userName           = dto.AdminUser.Username;
     Auth0userId             = userID;
     Auth0Password           = password;
     Auth0Email              = dto.AdminUser.Email;
     AITIntegrationServerUrl = dto.Organization["IntegrationAPIUrl"].ToString();
     APIVPTURL               = dto.APIVPTURL;
     LoginSystem             = int.Parse(dto.Organization["LoginSystem"].ToString());
     SKUID                   = dto.SKUID;
 }