public ActionResult Create(SubExpenceInfo subExp, string action)
        {
            ServiceClient sc = Sas.GetAuthenticatedServiceClient(this, action);
            sc.AddSubExpense(subExp.ExpenseID, subExp.AmountTotal, subExp.Name, subExp.Description);

            return RedirectToAction("Details", "Expense", new { id = subExp.ExpenseID });
        }
        //
        // GET: /SubExpense/Create
        public ActionResult Create(int id, string action)
        {
            ServiceClient sc = Sas.GetAuthenticatedServiceClient(this, action);
            SubExpenceInfo subExp = new SubExpenceInfo();
            subExp.ExpenseID = id;

            return View(subExp);
        }
 public ActionResult Delete(int id, SubExpenceInfo sei, string action)
 {
     ServiceClient sc = Sas.GetAuthenticatedServiceClient(this, action);
     sc.RemoveSubExpense(id);
     return RedirectToAction("Details", "Expense", new { id = sei.ExpenseID });
 }