public void EditCompanyDetails(CompanyDetails companyDetailsToEdit)
 {
     CompanyDetailsRepository.Update(companyDetailsToEdit);
     SaveCompanyDetails();
 }
 public void CreateCompanyDetails(CompanyDetails companyDetails)
 {
     CompanyDetailsRepository.Add(companyDetails);
     SaveCompanyDetails();
 }