Exemplo n.º 1
0
        public async Task <IActionResult> DeleteAttachment(int id)
        {
            try
            {
                await _service.DeleteMrrSupplierAttachment(id).ConfigureAwait(false);

                return(Ok(true));
            }
            catch (Exception e)
            {
                return(BadRequest(e.Message));
            }
        }