public ActionResult Edit(KnowledgeTest knowledgeTest)
 {
     try
     {
         _knowledgeTestService.Update(new KnowledgeTest
         {
             Question        = knowledgeTest.Question,
             Answer1         = knowledgeTest.Answer1,
             Answer2         = knowledgeTest.Answer2,
             Answer3         = knowledgeTest.Answer3,
             Answer4         = knowledgeTest.Answer4,
             KnowledgeDate   = DateTime.Now,
             Point           = knowledgeTest.Point,
             IsActive        = knowledgeTest.IsActive,
             ValidAnswerType = knowledgeTest.ValidAnswerType,
             KnowledgeTestId = knowledgeTest.KnowledgeTestId
         });
         SuccessNotification("Kayıt Güncellendi");
         return(RedirectToAction("KnowledgeTestIndex"));
     }
     catch
     {
         return(View());
     }
 }
 public ActionResult Edit(KnowledgeTest knowledgeTest)
 {
     try
     {
         _knowledgeTestService.Update(new  KnowledgeTest
         {
             //TODO:Alanlar buraya yazılacak Id alanı en altta olacak unutmayın!!!
             //Örn:BrandName = brand.BrandName,
             //BrandId = brand.BrandId
             KnowledgeTestId = knowledgeTest.KnowledgeTestId
         });
         SuccessNotification("Kayıt Güncellendi");
         return(RedirectToAction("KnowledgeTestIndex"));
     }
     catch
     {
         return(View());
     }
 }