예제 #1
0
        public async Task <IActionResult> GetBatchTable()
        {
            try
            {
                List <BatchTableRow> batches = await BatchService.GetBatchTable();

                return(Ok(batches));
            }
            catch (Exception ex)
            {
                Log.Error($"Error getting batch table.");
                throw;
            }
        }