Ejemplo n.º 1
0
        public async Task <IActionResult> EndAppealProcess(int masterId)
        {
            var appeal = await _repository.GetFlowMaster(masterId, true);

            if (appeal == null)
            {
                return(NotFound());
            }

            _repository.RemoveMaster(appeal);
            await _unitOfWork.CompleteAsync();

            return(Ok(masterId));
        }