public async Task <IActionResult> GetProcedureById([FromRoute] string id)
        {
            if (string.IsNullOrWhiteSpace(id))
            {
                return(BadRequest("Id is null or invalid"));
            }

            var procedure = await _procedureRepository.FindAsync(id);

            if (procedure == null)
            {
                return(BadRequest("Procedure not exist"));
            }

            var procedureResponse = _mapper.Map <ProcedureResponse>(procedure);

            return(Ok(procedureResponse));
        }