Beispiel #1
0
        public IActionResult GetByGroupId(int id)
        {
            try
            {
                var result = _logic.GetByGroupId(id);

                if (result == null)
                {
                    return(NotFound());
                }

                return(Ok());
            }
            catch (Exception e)
            {
                return(BadRequest());
            }
        }