public async Task <IHttpActionResult> CheckCode(CheckCodeModel model)
        {
            try
            {
                var transactionApi = new TransactionApi();
                var UserManager    = Request.GetOwinContext().GetUserManager <ApplicationUserManager>();
                var user           = await UserManager.FindByNameAsync(model.Username);

                var userId = user.Id;
                var result = transactionApi.CheckCode(userId, model.TransactionCode, model.CarParkId);
                if (result != null)
                {
                    return(Json(new ResultModel
                    {
                        obj = result,
                        success = true,
                    }));
                }
                else
                {
                    return(Json(new ResultModel
                    {
                        message = "Mã hoặc tên tài khoản sai",
                        success = false,
                    }));
                }
            }
            catch (Exception ex)
            {
                return(Json(new ResultModel
                {
                    message = "Có lỗi xảy ra, vui lòng liên hệ Admin!",
                    success = false,
                }));
            }
        }