public async Task <ActionResult <Dtos.ReplaceOneResult> > Put([FromRoute] string id, [FromBody] Dtos.UnidentifiedThootle data)
        {
            if (!ObjectId.TryParse(id, out _))
            {
                return(BadRequest(new { error = $"Provided id '{id}' is not a valid id. Id must be a 24 digit hex string." }));
            }
            var result = await _service.UpdateThootle(id, _mapper.Map <Dtos.UnidentifiedThootle, Thootle>(data));

            return(Ok(_mapper.Map <ReplaceOneResult, Dtos.ReplaceOneResult>(result)));
        }
        public async Task <ActionResult <Dtos.Thootle> > Post([FromBody] Dtos.UnidentifiedThootle data)
        {
            var result = await _service.CreateThootle(_mapper.Map <Dtos.UnidentifiedThootle, Thootle>(data));

            return(CreatedAtAction(nameof(GetOne), new { id = result.Id }, _mapper.Map <Thootle, Dtos.Thootle>(result)));
        }