Пример #1
0
        /// <summary>
        /// Save Shop setting details in database
        /// </summary>
        /// <param name="shopSettingDetails">Shopsetting object to be saved</param>
        /// <returns>returns boolean value indicating if the records are saved in database</returns>
        bool ISettingService.SaveShopSetting(ShopSettingDTO shopSettingDetails)
        {
            shop_info shopSettingEntity = new shop_info();

            ObjectMapper.Map(shopSettingDetails, shopSettingEntity);
            return(ShopSettingRepository.Save(shopSettingEntity));
        }
Пример #2
0
 /// <summary>
 /// Save Shop setting details in database
 /// </summary>
 /// <param name="shopSettingDetails">Shopsetting object to be saved</param>
 /// <returns>returns boolean value indicating if the records are saved in database</returns>
 public bool SaveShopSetting(ShopSettingDTO shopSettingDetails)
 {
     return(SettingService.SaveShopSetting(shopSettingDetails));
 }