public async Task <IActionResult> UpdateTransactionStatus(int tranId, [FromBody] Models.TransactionDistributorUpdateRequest trans) { return(Ok(new { data = _mapper.Map <Models.Transaction>(await _transactionBL.UpdateDistributorTransaction(tranId, trans.StatusId, trans.RejectedReason, trans.RejectById)) })); }