public async Task <APIResult> GetAllFaq() { var rs = await faqHomepageQueries.GetAllFaq(); return(new APIResult() { Result = 0, Data = rs }); }
public async Task <IActionResult> Faqs() { var model = await _faqHomepageQueries.GetAllFaq(condition : $"is_used = '1' and l.code ='{CurrentLanguage}' "); return(View(model)); }