/// <summary>
 /// Save Promotional offer details in database
 /// </summary>
 /// <param name="promitonalOfferDetails">Promotional offer object to be saved</param>
 /// <returns>returns boolean value indicating if the records are saved in database</returns>
 bool ISettingService.SavePromotionalOffer(PromotionalOfferDTO promotionalOfferDetails)
 {
     promotional_offer promotionalOfferEntity = new promotional_offer();
     ObjectMapper.Map(promotionalOfferDetails, promotionalOfferEntity);
     return PromotionalOfferRepository.Save(promotionalOfferEntity);
 }
Beispiel #2
0
 /// <summary>
 /// Save Promotional offer details in database
 /// </summary>
 /// <param name="promitonalOfferDetails">Promotional offer object to be saved</param>
 /// <returns>returns boolean value indicating if the records are saved in database</returns>
 public bool SavePromotionalOffer(PromotionalOfferDTO promotionalOfferDetails)
 {
     return SettingService.SavePromotionalOffer(promotionalOfferDetails);
 }