public AutoController(IAutoData data) { this.data = data; }
//constructor public AutoController(IAutoData autoData, ICodeData codeData, IBrandData brandData) { _autoData = autoData; _codeData = codeData; _brandData = brandData; }
//constructor public ReviewController(IReviewData reviewData, IAutoData autoData, ICodeData codeData) { _reviewData = reviewData; _autoData = autoData; _codeData = codeData; }
public AutoController(IAutoData autoData) { _autoData = autoData; }