Example #1
0
 public FAQ UpdateFAQ(FAQ faq)
 {
     var obj = faqRepository.Update(faq);
     return obj;
 }
Example #2
0
 public FAQ AddFAQ(FAQ faq)
 {
     faq.Id = Guid.NewGuid();
     var obj = faqRepository.Add(faq);
     return obj;
 }
Example #3
0
 public ActionResult EditFAQ(FAQ faq)
 {
     var obj = supportService.UpdateFAQ(faq);
     return Json(obj, JsonRequestBehavior.AllowGet);
 }