public async Task <IActionResult> Post([FromBody] Invoice invoice)
        {
            if (invoice == null)
            {
                return(BadRequest());
            }
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }
            invoice.SaveToTxt();
            var item = await _transactionProvider.DeleteTransactions();

            if (item == null)
            {
                return(StatusCode(500, "A problem occurred while handling your request."));
            }
            return(NoContent());
        }