public ProviderWork ThirdProviderWork()
        {
            var thirdProviderWork = new ProviderWork {

                 ProviderId = new Int32()
            ,
                 PhotoID = new Int32()
            ,
                 PhotoPath = null

             };

            return thirdProviderWork;
        }
        public ProviderWork FirstProviderWork()
        {
            var firstProviderWork = new ProviderWork {

                 ProviderId = new Int32()
            ,
                 PhotoID = new Int32()
            ,
                 PhotoPath = null

             };

            return firstProviderWork;
        }
        public ProviderWork SecondProviderWork()
        {
            var secondProviderWork = new ProviderWork {

                 ProviderId = new Int32()
            ,
                 PhotoID = new Int32()
            ,
                 PhotoPath = null

             };

            return secondProviderWork;
        }
        public void ProviderInitialProfileValues(RegisterModel model, int providerId)
        {
            if (providerId != 0)
            {
                var nextCompanyId =
                    UnitofWork.MaintenanceCompanyLookUpRepository.All.OrderByDescending(x => x.CompanyId)
                        .First()
                        .CompanyId + 1;

                var newMaintenanceCompanyLookUp = new MaintenanceCompanyLookUp
                {
                    CompanyId = nextCompanyId,
                    UserId = providerId,
                    Role = (int)LookUpRoles.Roles.Provider
                };
                var newMaintenanceCompany = new MaintenanceCompany
                {
                    CompanyId = nextCompanyId,
                    Name = model.UserName,
                    EmailAddress = model.Email,
                    GoogleMap = "USA",
                    Country = "US",
                    //   CountryCode = "US"
                    MaintenanceCompanyLookUp = newMaintenanceCompanyLookUp
                };
                var newMaintenanceCompanySpecialization = new MaintenanceCompanySpecialization
                {
                    CompanyId = nextCompanyId,
                    NumberofEmployee = 1,
                    NumberofCertifitedEmplyee = 1,
                    IsInsured = true,
                    Rate = 50,
                    CurrencyID = 1,
                    Currency = "USD",
                    MaintenanceCompanyLookUp = newMaintenanceCompanyLookUp
                };
                var newMaintenanceCustomService = new MaintenanceCustomService
                {
                    CompanyId = nextCompanyId,
                    MaintenanceCompanyLookUp = newMaintenanceCompanyLookUp
                };

                var newMaintenanceExterior = new MaintenanceExterior
                {
                    CompanyId = nextCompanyId,
                    MaintenanceCompanyLookUp = newMaintenanceCompanyLookUp
                };
                var newMaintenanceInterior = new MaintenanceInterior
                {
                    CompanyId = nextCompanyId,
                    MaintenanceCompanyLookUp = newMaintenanceCompanyLookUp
                };
                var newMaintenanceNewConstruction = new MaintenanceNewConstruction
                {
                    CompanyId = nextCompanyId,
                    MaintenanceCompanyLookUp = newMaintenanceCompanyLookUp
                };
                var newMaintenanceRepair = new MaintenanceRepair
                {
                    CompanyId = nextCompanyId,
                    MaintenanceCompanyLookUp = newMaintenanceCompanyLookUp
                };
                var newMaintenanceUtility = new MaintenanceUtility
                {
                    CompanyId = nextCompanyId,
                    MaintenanceCompanyLookUp = newMaintenanceCompanyLookUp
                };
                var providerwork = new ProviderWork
                {
                    PhotoPath = "./../images/dotimages/home-handyman-projects.jpg",
                    ProviderId = providerId
                };
                UnitofWork.MaintenanceCompanyLookUpRepository.Add(newMaintenanceCompanyLookUp);
                UnitofWork.MaintenanceCompanyRepository.Add(newMaintenanceCompany);
                UnitofWork.MaintenanceCompanySpecializationRepository.Add(newMaintenanceCompanySpecialization);
                UnitofWork.MaintenanceCustomServiceRepository.Add(newMaintenanceCustomService);
                UnitofWork.MaintenanceExteriorRepository.Add(newMaintenanceExterior);
                UnitofWork.MaintenanceInteriorRepository.Add(newMaintenanceInterior);
                UnitofWork.MaintenanceNewConstructionRepository.Add(newMaintenanceNewConstruction);
                UnitofWork.MaintenanceRepairRepository.Add(newMaintenanceRepair);
                UnitofWork.MaintenanceUtilityRepository.Add(newMaintenanceUtility);
                UnitofWork.ProviderWorkRepository.Add(providerwork);
                UnitofWork.Save();

            }
        }