public ActionResult <ExperimentDto> GetExperiment(Guid plantId, Guid experimentId) { var experimnt = _experimentRepository.GetExperiment(plantId, experimentId); if (experimnt == null) { return(NotFound()); } return(Ok(_mapper.Map <ExperimentDto>(experimnt))); }