public WellBeingService(IWellBeing <WellBeing> repository, IMapper mapper) { _repository = repository; _mapper = mapper; }
public WellBeingController(IMapper mapper, IWellBeing <WellBeing> service) { _service = new WellBeingService <WellBeingData>(service, mapper); }