private void SetViewBag(Company company)
 {
     if (company == null || company.CityId == null)
     {
         ViewBag.Cities = ViewBag.States = null;
     }
     else
     {
         ViewBag.Cities = ControllerCommonFunctions.AddFirstItem(
             new SelectList(_companiesService.GetCitiesIds(company.City.StateId), "Id", "Name"));
         ViewBag.States = ControllerCommonFunctions.AddFirstItem(
             new SelectList(_companiesService.GetStatesIds(company.City.State.CountryId), "Id", "Name"));
     }
     ViewBag.Currencies = ControllerCommonFunctions.AddFirstItem(
         new SelectList(_companiesService.GetCurrenciesIds(), "Id", "Name"));
     ViewBag.Companies = ControllerCommonFunctions.AddFirstItem(
         new SelectList(_companiesService.GetCompaniesIds(), "Id", "Name"));
     ViewBag.Countries = ControllerCommonFunctions.AddFirstItem(
         new SelectList(_companiesService.GetCountriesIds(), "Id", "Name"));
 }