public void CreateClaimHeader(string UserGUID, string passwordShar, MyExpenses.Model.BussinessObjects.ClaimDetails ClaimDetails) { AddEditClaimBAL = new AddEditClaimBAL(); AddEditClaimBAL.CreateClaimHeader(UserGUID, passwordShar,ClaimDetails); AddEditClaimBAL.OnAddClaimHeaderCompleted +=AddEditClaimBAL_OnAddClaimHeaderCompleted; }
public IActionResult Create(MyExpenses obj) { if (ModelState.IsValid) { _db.Expenses.Add(obj); _db.SaveChanges(); return(RedirectToAction("Index")); } return(View(obj)); }
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); } }
public void UpdateLine(string UserGUID, string passwordShar, MyExpenses.Model.BussinessObjects.ClaimDetails ClaimDetails) { AddEditClaimBAL = new AddEditClaimBAL(); AddEditClaimBAL.UpdateLine(UserGUID, passwordShar, ClaimDetails); AddEditClaimBAL.OnUpdateLineCompleted += AddEditClaimBAL_OnUpdateLineCompleted; }