public AdDetailsModel GetAdDetails(long adId) { AdTypeEnum adType = _adRepository.GetAdType(adId); if (adType == AdTypeEnum.Undefined) { return(null); } AdDetailsModel model = CreateAdDetailsModelFromAd(adType, adId); return(model); }
public AdDetailsModel GetAdDetails(long adId) { AdTypeEnum adType = _adRepository.GetAdType(adId); if (adType == AdTypeEnum.Undefined) { return(null); } AdDetailsModel model = CreateAdDetailsModelFromAd(adType, adId); return(model); }