public void SaveMasterConfiguration()
        {
            //Unified Data Store
            tblMasterConfigurationDto objDto = new tblMasterConfigurationDto();

            objDto.MinPasswordLength = 8;
            objDto.RequireNumberInPassword = true;
            objDto.RequireSpecialCharacterInPassword = true;
            objDto.MaxPasswordLife = 100;
            objDto.MaxLogonRetry = 2;
            objDto.PasswordHistoryCount = 2;
            objDto.AllowReusePasswordFromHistory = false;
            objDto.CreatedBy = "Paresh Rao";
            objDto.CreatedOn = DateTime.Now;
            //Optional Fields
            objDto.ModifiedBy = "Ravi Keshwani";
            objDto.ModifiedOn = DateTime.Now;
            objDto.IPAddressOfLastAction = "10.7.200.300";
            objDto.DefaultEmailAddress = "*****@*****.**";
            objDto.OutgoingEmailServer = "10.10.10.10";
            objDto.SenderMailAddress = "*****@*****.**";
            objDto.EmailAccountUserName = "******";
            objDto.EmailAccountUserPassword = "******";

            MasterConfigurationProvider objMasterConfigurationProvider = new MasterConfigurationProvider();
            int returnVal = objMasterConfigurationProvider.SaveMasterConfiguration(objDto);

            Assert.AreEqual(1, returnVal, "It should return 1");
        }
        /// <summary>
        /// Saves master configurations
        /// </summary>
        /// <param name="masterConfigurationBO"></param>
        /// <returns></returns>
        public int SaveMasterConfiguration(MasterConfigurationBO masterConfigurationBO)
        {
            Mapper.CreateMap<MasterConfigurationBO, tblMasterConfigurationDto>();
            tblMasterConfigurationDto tblMasterConfigurationDto = new Domain.tblMasterConfigurationDto();

            Mapper.Map(masterConfigurationBO, tblMasterConfigurationDto);
            MasterConfigurationProvider objMasterConfigurationProvider = new MasterConfigurationProvider();
            return objMasterConfigurationProvider.SaveMasterConfiguration(tblMasterConfigurationDto);
        }