public IActionResult Delete(Guid id) { try { transactionService.Delete(id); transactionService.SaveChanges(); ResponseModel.Notification = ApUtility.CreateNotification("Account Transaction delete successfully", Enums.NotificationType.Success); return(Accepted(ResponseModel)); } catch (Exception ex) { ResponseModel.Notification = ApUtility.CreateNotification(ex.Message, Enums.NotificationType.Error); return(StatusCode(500, ResponseModel)); } }