示例#1
0
 public AffairsController(IAffairService affairService, ICustomerService customerService,
                          IEmployeeService employeeService, IVehicleService vehicleService, IConverter converter)
 {
     _affairService   = affairService;
     _customerService = customerService;
     _employeeService = employeeService;
     _vehicleService  = vehicleService;
     _converter       = converter;
 }
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="mapper">Mapper</param>
 /// <param name="affairService">AffairService</param>
 public AffairController(IMapper mapper, IAffairService affairService)
 {
     _mapper        = mapper;
     _affairService = affairService;
 }