コード例 #1
0
ファイル: CarController.cs プロジェクト: Filip-E/garage-app
 public CarController()
 {
     _carService          = new CarService();
     _carsMapper          = new CarsMapper();
     _specificationMapper = new SpecificationMapper();
 }
コード例 #2
0
 public SpecificationController()
 {
     _specificationService = new SpecificationService();
     _specificationMapper  = new SpecificationMapper();
 }
コード例 #3
0
 /// <summary>
 /// Controller Constructor
 /// </summary>
 /// <param name="bll"></param>
 public SpecificationsController(IAppBLL bll)
 {
     _bll    = bll;
     _mapper = new SpecificationMapper();
 }