public ActionResult DeleteConfirmed(string id)
        {
            tb_Current_Service tb_Current_Service = db.tb_Current_Service.Find(id);

            db.tb_Current_Service.Remove(tb_Current_Service);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
 public ActionResult Edit([Bind(Include = "ConsumerID,AgencyName,ServiceID,ServiceArabicName,ServiceEnglishName,DepartmentName,ServiceTypeID,ServiceClassificationID,ServiceGeographicalCoverageID,ServicePriorityID,ServiceFees,FinancedByYesser,TimeTakenToDelivereTheServiceNow,TimeTakenToDelivereTheServiceInFuture,OutsideBranchesToProvideTheService,DigitalCertificateIssued,ServiceMaturityLevelID,HigherMaturityServiceLevelToBeReachedID,HigriDateForTransmissitingServiceToTopMaturityLevel,GregorianDateForTransmissitingServiceToTopMaturityLevel,ServiceTargetAudienceNumberID,ServiceNumberOfBeneficiariesInElectronicFormAnnuallyID,ServiceNumberOfElectronicTransactionsPerYearID,ServiceRepeatedNumberOfUsePerBeneficiaryID,ServiceAutomationPortabilityInItsCurrentStateID,ServiceRequirementsAndProceduresForServiceAvailableID,ServiceHasDocumentedProceduresID,ServiceHasWorkflowChartID,ServiceHasProcessReengineeredID,ServiceHasUnifiedProcessesID,ArabicHyperLink,EnglishHyperLink,YouTubeLink,ServiceManual,ServiceForm,ServiceArabicDescription,ServiceEnglishDescription,NumberOfServiceRequestProcessedManuallyIn6Months,NumberOfServiceRequestProcessedElectronically6Months,MyComments,ImportingDate,VersionNumber,VersionDate,DataSourceName,ActionTaken")] tb_Current_Service tb_Current_Service)
 {
     if (ModelState.IsValid)
     {
         db.Entry(tb_Current_Service).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(tb_Current_Service));
 }
        // GET: tb_Current_Service/Delete/5
        public ActionResult Delete(string id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            tb_Current_Service tb_Current_Service = db.tb_Current_Service.Find(id);

            if (tb_Current_Service == null)
            {
                return(HttpNotFound());
            }
            return(View(tb_Current_Service));
        }