Exemplo n.º 1
0
        public async Task <IActionResult> EditAsync(int id, PositionAddOrEditDto model)
        {
            var result = new ReturnData <bool>();

            result.Obj = await _service.EditAsync(id, model);

            return(Ok(result));
        }
        public async Task <IActionResult> OutStock(EditPositionDto model, int id)
        {
            var result = await _service.EditAsync(id, model);

            return(Ok(result));
        }