/// <summary>
		/// Removes an existing organization
		/// </summary>
		/// <param name="organization">Organization to be removed</param>
		public void RemoveExistingOrganization(OrganizationViewModel organization)
		{
			//this.OrganizationRepository.
		}
Exemplo n.º 2
0
		/// <summary>
		/// Removes an existing organization
		/// </summary>
		/// <param name="organization">Organization to be removed</param>
		public void RemoveExistingOrganization(OrganizationViewModel organization)
		{
			this.OrganizationsViewModel.RemoveExistingOrganization(organization);
		}
		/// <summary>
		/// Hydrates the add organization view model with the organization that is 
		/// to be edited and sets its mode to edit mode from save.
		/// </summary>
		/// <param name="organization">The organization to 
		/// be edited</param>
		public void EditExistingOrganization(IOrganization organization)
		{
			this.OrganizationPreview = new OrganizationViewModel(organization);
			this.OrganizationName = OrganizationPreview.OrgName;
			this.Caption = ViewNames.EDIT_ORGANIZATION;
		}