public AutoController(IAutoData data)
 {
     this.data = data;
 }
示例#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
 public AutoController(IAutoData autoData)
 {
     _autoData = autoData;
 }