예제 #1
0
        public void CreateClaimHeader(string UserGUID, string passwordShar, MyExpenses.Model.BussinessObjects.ClaimDetails ClaimDetails)
        {
            AddEditClaimBAL = new AddEditClaimBAL();
            AddEditClaimBAL.CreateClaimHeader(UserGUID, passwordShar,ClaimDetails);
            AddEditClaimBAL.OnAddClaimHeaderCompleted +=AddEditClaimBAL_OnAddClaimHeaderCompleted;

        }
예제 #2
0
        public IActionResult Create(MyExpenses obj)
        {
            if (ModelState.IsValid)
            {
                _db.Expenses.Add(obj);
                _db.SaveChanges();
                return(RedirectToAction("Index"));
            }

            return(View(obj));
        }
예제 #3
0
        public void UpdateLine(string UserGUID, string password, MyExpenses.Model.BussinessObjects.ClaimDetails ClaimDetails)
        {
            if (CommonFunctions.IsInternetAvailable())
            {
                bookingWA = new BookingWA();

                bookingWA.UpdateLine(Utilities.BuildRequestXml.UpdateLine(UserGUID, password, ClaimDetails));
                bookingWA.OnWebDataAccessEvent += bookingWA_OnWebDataAccessEvent11;
            }
            else
            {
                OnUpdateLineCompleted(900, null);
            }
        }
예제 #4
0
        public void UpdateLine(string UserGUID, string passwordShar, MyExpenses.Model.BussinessObjects.ClaimDetails ClaimDetails)
        {
            AddEditClaimBAL = new AddEditClaimBAL();
            AddEditClaimBAL.UpdateLine(UserGUID, passwordShar, ClaimDetails);
            AddEditClaimBAL.OnUpdateLineCompleted += AddEditClaimBAL_OnUpdateLineCompleted;

        }