예제 #1
0
        public async Task <APIResult> GetAllFaq()
        {
            var rs = await faqHomepageQueries.GetAllFaq();

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

            return(View(model));
        }