public BikeTypeController(IBikeTypeService bikeTypeService) { this._bikeTypeService = bikeTypeService; }
public BikeTypeController(IMapper mapper, IBikeTypeService bikeTypeService) { _mapper = mapper; _bikeTypeService = bikeTypeService; }
public void SetUp() { mockRepo = new Mock <IBikeTypeRepository>(); mockMapper = new Mock <IMapper>(); bikeTypeService = new BikeTypeService(mockMapper.Object, mockRepo.Object); }