public async Task <ActionResult> Create(FEP.Intranet.Areas.eEvent.Models.CreateEventRefundModel model)
        {
            if (ModelState.IsValid)
            {
                var modelapi = new CreateEventRefundModel()
                {
                    EventId             = model.EventId,
                    EventName           = model.EventName,
                    UserId              = model.UserId,
                    UserName            = model.UserName,
                    BankInformationId   = model.BankInformationId,
                    BankInformationName = model.BankInformationName,
                    AccountNumber       = model.AccountNumber,
                };

                var response = await WepApiMethod.SendApiAsync <int>(HttpVerbs.Post, $"eEvent/EventRefund", modelapi);

                if (response.isSuccess)
                {
                    await LogActivity(Modules.Event, "Update Event Refund", model);

                    TempData["SuccessMessage"] = "Event Refund successfully updated";

                    return(RedirectToAction("List"));
                }
            }
            TempData["ErrorMessage"] = "Fail to update Event Refund";

            return(RedirectToAction("List"));
        }
        public async Task <ActionResult> Create()
        {
            var model = new FEP.Intranet.Areas.eEvent.Models.CreateEventRefundModel();

            model.UserIds            = new SelectList(await GetUsers(), "Id", "Name");
            model.BankInformationIds = new SelectList(await GetBank(), "Id", "Name");
            model.EventIds           = new SelectList(await GetEvent(), "Id", "RefNo");

            return(View(model));
        }