public async Task <ActionResult> CustomerOrganizations(Guid id, CreateUpdateOrganizationViewModel model)
        {
            await settingsControllerManager.UpdateCustomerOrganization(id, model);

            return(Json(string.Empty));
        }
        /// <summary>
        /// Updates the customer organization.
        /// </summary>
        /// <param name="organizationId">The organization identifier.</param>
        /// <param name="model">The model.</param>
        /// <returns></returns>
        public Task UpdateCustomerOrganization(Guid organizationId, CreateUpdateOrganizationViewModel model)
        {
            var organization = Mapper.Map <CreateUpdateOrganizationViewModel, OrganizationRequestDto>(model);

            return(customersService.UpdateOrganization(customerContext.Customer.Id, organizationId, organization, authDataStorage.GetToken()));
        }
        public async Task <ActionResult> CustomerOrganizations(CreateUpdateOrganizationViewModel model)
        {
            var result = await settingsControllerManager.CreateCustomerOrganization(model);

            return(Json(result));
        }