Esempio n. 1
0
        public async Task <IActionResult> Get()
        {
            try
            {
                var items = await _projectAppService.GetAllAsync();

                return(Ok(items));
            }
            catch (Exception ex)
            {
                _log4net.Info(ex.Message, ex);
                return(StatusCode(500));
            }
        }