public AdService(
     IUnityOfWork uof,
     IImageService imageService,
     IDataTransformerService dataService,
     IAdUpService adUpService,
     IConversationService converstionService)
 {
     _uof                 = uof;
     _imageService        = imageService;
     _dataService         = dataService;
     _adUpService         = adUpService;
     _conversationService = converstionService;
 }
 public ManageAdController(
     IAdService adService,
     IAdUpService adUpService,
     IAdViewsService adViewsService,
     ICityService cityService,
     IProductModelsService productModelsService)
 {
     _adService            = adService;
     _adUpService          = adUpService;
     _adViewsService       = adViewsService;
     _cityService          = cityService;
     _productModelsService = productModelsService;
     _prepearingModel      = new PrepearingModelHelper(_adService);
 }
 public virtual void Dispose(bool disposing)
 {
     if (!this.disposed)
     {
         if (disposing)
         {
             _adService            = null;
             _adService            = null;
             _adUpService          = null;
             _adViewsService       = null;
             _cityService          = null;
             _productModelsService = null;
             _prepearingModel      = null;
         }
         this.disposed = true;
     }
 }