Exemple #1
0
        public IActionResult GetByProgramId(long id)
        {
            var result = context.FindById(id);

            if (result != null)
            {
                return(Ok(result));
            }
            else
            {
                return(NotFound());
            }
        }