Exemplo n.º 1
0
        public async Task <IHttpActionResult> UpdateStatus()
        {
            try
            {
                await _service.UpdateMovementsStatusOfPendingMovements();

                return(Ok());
            }
            catch (DbUpdateException e)
            {
                return(InternalServerError(e));
            }
        }