private SaveResult SaveCreate(GatewayAccountViewModel model)
        {
            GatewayAccountBLL ab = new GatewayAccountBLL();
            var result           = ab.Create(model, UserId, UserName);

            return(result);
        }
        public ActionResult SaveDeduct(Guid accountId, decimal amount)
        {
            GatewayAccountBLL ab = new GatewayAccountBLL();

            return(Json(ab.Deduct(accountId, amount, UserId, UserName).toJson()));
        }
        private SaveResult SaveEdit(GatewayAccountViewModel model)
        {
            GatewayAccountBLL ab = new GatewayAccountBLL();

            return(ab.Update(model, UserId, UserName));
        }
        public ActionResult SavePassword(Guid AccountId, string NewPassword)
        {
            GatewayAccountBLL ab = new GatewayAccountBLL();

            return(Json(ab.UpdatePassword(AccountId, NewPassword, UserId, UserName).toJson()));
        }