public ActionResult EditParcel(int Parcel_Id)
 {
     ViewBag.Branch_List = _abcLib.PopulateBranchListItem();
     _parcelRecording    = new Parcel();
     _parcelRecording    = _parcelService.GetParcel(Parcel_Id);
     return(View(_parcelRecording));
 }
Exemplo n.º 2
0
        //To implement
        //Method: Public
        //Return type: ActionResult
        //MethodName: DisplayParcel
        //Parameter type: int
        //Parameter name: Parcel_Id
        //Return a View
        //Start Date: 13-03-2015
        //Submission: Assignment 2
        public ActionResult DisplayParcel(int Parcel_Id)
        {
            _recording = new Parcel();
            _recording = _parcelService.GetParcel(Parcel_Id);

            return(View(_recording));
            //return View(_parcelService.GetParcels());
        }