예제 #1
0
        public async Task <IActionResult> BalanceAsync(Guid id)
        {
            try
            {
                var returnId = await _inventoryRepository.BalanceAsync(id);

                return(Ok(new { id = returnId }));
            }
            catch (Exception ex)
            {
                return(BadRequest(new ExceptionResponse(ex.Message, ex.Message)));
            }
        }