Пример #1
0
        /// <summary>
        /// The get by key.
        /// </summary>
        /// <param name="key">
        /// The key.
        /// </param>
        /// <returns>
        /// The <see cref="TOffer"/>.
        /// </returns>
        public TOffer GetByKey(Guid key)
        {
            var settings = _offerSettingsService.GetByKey(key);

            return(GetInstance(settings));
        }
Пример #2
0
 public OfferSettingsDisplay GetOfferSettings(Guid id)
 {
     return(_offerSettingsService.GetByKey(id).ToOfferSettingsDisplay());
 }