public dynamic MapRemoveUserRolesArguments(IOffice365UserChangeLicenseCommand src)
 {
     return(new
     {
         src.UserPrincipalName,
         src.Office365CustomerId,
         WorkflowActivityType = WorkflowActivityType.Office365UserChangeLicense,
         WorkflowStep = WorkflowActivityStep.Office365RemoveUserRoles
     });
 }
 public dynamic MapRemoveLicenseDatabaseUserArguments(IOffice365UserChangeLicenseCommand src)
 {
     return(new
     {
         src.UserPrincipalName,
         src.Office365CustomerId,
         CloudPlusProductIdentifier = src.RemoveCloudPlusProductIdentifier,
         WorkflowActivityType = WorkflowActivityType.Office365UserChangeLicense,
         WorkflowStep = WorkflowActivityStep.Office365RemoveLicenseDatabaseUser
     });
 }
 public dynamic MapDatabaseOffice365CustomerSubscriptionArguments(IOffice365UserChangeLicenseCommand src)
 {
     return(new
     {
         src.UserPrincipalName,
         src.Office365CustomerId,
         CloudPlusProductIdentifier = src.AssignCloudPlusProductIdentifier,
         WorkflowActivityType = WorkflowActivityType.Office365UserChangeLicense,
         WorkflowStep = WorkflowActivityStep.Office365DatabaseCustomerSubscription
     });
 }
 public dynamic MapAssignLicenseOffice365PartnerPlatformUserArguments(IOffice365UserChangeLicenseCommand src)
 {
     return(new
     {
         src.UserPrincipalName,
         src.Office365CustomerId,
         CloudPlusProductIdentifier = src.AssignCloudPlusProductIdentifier,
         WorkflowActivityType = WorkflowActivityType.Office365UserChangeLicense,
         WorkflowStep = WorkflowActivityStep.Office365AssignLicenseToPartnerPlatformUser
     });
 }
 public dynamic MapDecreasePartnerPlatformCustomerSubscriptionArguments(IOffice365UserChangeLicenseCommand src)
 {
     return(new
     {
         src.CompanyId,
         src.Office365CustomerId,
         src.UserPrincipalName,
         CloudPlusProductIdentifier = src.RemoveCloudPlusProductIdentifier,
         WorkflowActivityType = WorkflowActivityType.Office365UserChangeLicense,
         WorkflowStep = WorkflowActivityStep.Office365DecreasePartnerPlatformCustomerSubscription
     });
 }