public IActionResult Create([FromBody] InstrumentDTO item)
        {
            if (item == null)
            {
                return(BadRequest());
            }

            var instrument = _mapper.Map <Instrument>(item);

            if (instrument == null)
            {
                return(BadRequest());
            }

            _instrumentService.Add(instrument);

            return(CreatedAtRoute("GetInstrument", new { id = instrument.Id }, item));
        }
 public void Post([FromBody] InstrumentModel instrumentModel)
 {
     _instrumentService.Add(instrumentModel);
 }