コード例 #1
0
        public async Task <ActionResult <IEnumerable <CustomEntity> > > Get()
        {
            try
            {
                var entities = await _customTestService.GetAll();

                return(Ok(entities));
            }
            catch (Exception e)
            {
                throw e;
            }
        }