Ejemplo n.º 1
0
        public void UpdateOrganization(Guid organizationId, string name, string description, string webSiteUrl)
        {
            Organization organization = FindOrganizationById(organizationId);

            if (organization == null)
            {
                throw new ApplicationException($"The organization with id {organizationId} does not exists");
            }

            organization.UpdateBasicInformation(name, description, webSiteUrl);
            organization.Audit(this.Id);
        }