public static Organization OrganizationInsert(Organization organization)
        {
            organization = organization.Save();

            OrganizationUserRepository.OrganizationUserAdd(
                organization.OrganizationId, ((IBusinessIdentity)Csla.ApplicationContext.User.Identity).UserId, Role.Owner, true);

            return organization;
        }
Exemple #2
0
        public static Organization OrganizationInsert(Organization organization)
        {
            organization = organization.Save();

            OrganizationUserRepository.OrganizationUserAdd(
                organization.OrganizationId, ((IBusinessIdentity)Csla.ApplicationContext.User.Identity).UserId, Role.Owner, true);

            return(organization);
        }
        public static Organization OrganizationUpdate(Organization organization)
        {
            organization = organization.Save();

            return organization;
        }
Exemple #4
0
        public static Organization OrganizationUpdate(Organization organization)
        {
            organization = organization.Save();

            return(organization);
        }