public ActionResult GetLanguageList() { if (Convert.ToString(Session["UserId"]).Trim().Length > 0) { LanguageBusinessServices obj = new LanguageBusinessServices(); return(View("~/Views/Partial/ManageAccess/Language.cshtml", obj.GetLanguageList())); } else { return(PartialView("RedirectToLogin")); } }
public IHttpActionResult CheckDuplicateLanguage(int id, string text) { LanguageBusinessServices objLBS = new LanguageBusinessServices(); return(Ok(objLBS.CheckDuplicateLanguageData(id, text))); }
public IHttpActionResult DeleteLanguage(Int64 Id) { LanguageBusinessServices objLBS = new LanguageBusinessServices(); return(Ok(objLBS.DeleteLanguage(Id))); }
public IHttpActionResult AddLanguage(Int64 Id, LanguageDetails obj) { LanguageBusinessServices objLBS = new LanguageBusinessServices(); return(Ok(objLBS.AddLanguage(Id, obj))); }
public IHttpActionResult GetLanguageDetails(Int64 Id) { LanguageBusinessServices obj = new LanguageBusinessServices(); return(Ok(obj.LanguageDetails(Id))); }