public int AddOrganization(DLModel.Organization organization)
        {
            if (_organizationRepository.GetAll().Count() == 0)
            {
                organization.IsOrganizationAdmin = true;
            }
            else
            {
                organization.IsOrganizationAdmin = false;
            }

            return(_organizationRepository.Add(organization).OrganizationID);
        }
 public int UpdateOrganization(DLModel.Organization organization)
 {
     return(_organizationRepository.Update(organization));
 }