コード例 #1
0
        public IActionResult GetByName(string name)
        {
            try
            {
                var Result = _eventLogic.GetByName(name);

                return(Ok(Result));
            }
            catch (Exception ex)
            {
                return(StatusCode(500, "Internal server error"));
            }
        }