예제 #1
0
 //constructor
 public AutoController(IAutoData autoData, ICodeData codeData, IBrandData brandData)
 {
     _autoData  = autoData;
     _codeData  = codeData;
     _brandData = brandData;
 }
예제 #2
0
        //private readonly ICategoryData _categoryData;

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