/// <summary>
 /// Initializes a new instance of the <see cref="BicycleService"/> class.
 /// </summary>
 /// <param name="unitOfWork">The instance of <see cref="IUnitOfWork"/>.</param>
 /// <param name="mapper">The instance of <see cref="IMapper"/>.</param>
 /// <param name="typeBicycleService">The instance of <see cref="ITypeBicycleService"/>.</param>
 public BicycleService(IUnitOfWork unitOfWork, IMapper mapper, ITypeBicycleService typeBicycleService)
 {
     _unitOfWork         = unitOfWork;
     _mapper             = mapper;
     _typeBicycleService = typeBicycleService;
 }
Пример #2
0
 public TypeBicycleController(ITypeBicycleService typeBicycleService)
 {
     _typeBicycleService = typeBicycleService;
 }