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