Пример #1
0
        public ActionResult <UpdatePaymentStatusResponseModel> handling([FromBody] NotificationHandlingModel data)
        {
            MidTransBL bl = new MidTransBL(DbContext, AppSettings);

            UpdatePaymentStatusInputModel input = new UpdatePaymentStatusInputModel();

            return(bl.SaveMidtransLog(data, ModeMidTransEnum.Listener));
        }
Пример #2
0
        public ActionResult <UpdatePaymentStatusResponseModel> UpdatePayment([FromBody] UpdatePaymentStatusInputModel data)
        {
            MidTransBL bl = new MidTransBL(DbContext, AppSettings);

            return(bl.SaveMidtransLog(data, ModeMidTransEnum.MobileSDK));
        }