Ejemplo n.º 1
0
        public ActionResult DeleteConfirmed(int id)
        {
            fee_Amount_February fee_Amount_February = db.fee_Amount_February.Find(id);

            db.fee_Amount_February.Remove(fee_Amount_February);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
Ejemplo n.º 2
0
 public ActionResult Edit([Bind(Include = "fee_id,fee_Advance,Fee_Amount,fee_month_name,fee_status,fee_date,stu_fee_id")] fee_Amount_February fee_Amount_February)
 {
     if (ModelState.IsValid)
     {
         db.Entry(fee_Amount_February).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     ViewBag.stu_fee_id = new SelectList(db.tbl_enrolment, "Stu_id", "Stu_f_name", fee_Amount_February.stu_fee_id);
     return(View(fee_Amount_February));
 }
Ejemplo n.º 3
0
        // GET: fee_Amount_February/Details/5
        public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            fee_Amount_February fee_Amount_February = db.fee_Amount_February.Find(id);

            if (fee_Amount_February == null)
            {
                return(HttpNotFound());
            }
            return(View(fee_Amount_February));
        }
Ejemplo n.º 4
0
        // GET: fee_Amount_February/Edit/5
        public ActionResult Edit(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            fee_Amount_February fee_Amount_February = db.fee_Amount_February.Find(id);

            if (fee_Amount_February == null)
            {
                return(HttpNotFound());
            }
            ViewBag.stu_fee_id = new SelectList(db.tbl_enrolment, "Stu_id", "Stu_f_name", fee_Amount_February.stu_fee_id);
            return(View(fee_Amount_February));
        }