Пример #1
0
 //constructor
 public CodeController(ICodeData codeData, ICategoryData categoryData)
 {
     _codeData     = codeData;
     _categoryData = categoryData;
 }
Пример #2
0
 //constructor
 public AutoController(IAutoData autoData, ICodeData codeData, IBrandData brandData)
 {
     _autoData  = autoData;
     _codeData  = codeData;
     _brandData = brandData;
 }
Пример #3
0
 //constructor
 public ReviewController(IReviewData reviewData, IAutoData autoData, ICodeData codeData)
 {
     _reviewData = reviewData;
     _autoData   = autoData;
     _codeData   = codeData;
 }
Пример #4
0
        //private readonly ICategoryData _categoryData;

        //constructor
        public BrandController(IBrandData brandData, ICodeData codeData)
        {
            _brandData = brandData;
            _codeData  = codeData;
            //_categoryData = categoryData;
        }