Ejemplo n.º 1
0
        public async Task <ActionResult <Canvas> > GetCanvas(string researchId, string canvasId)
        {
            var canvas = await _repository.GetCanvas(researchId, canvasId);

            if (canvas == null)
            {
                return(NotFound());
            }
            return(Ok(canvas));
        }