Exemple #1
0
        public ActionResult <NationSearchResViewModel> Manage_OpinionInfo_Search()
        {
            var SearchResult = _nationService.GetAll();
            var Actionresult = _maintainFactory.GetNationSearchResViewModel();

            Actionresult.baseViewModel.IsSuccess = true;
            Actionresult.Data = SearchResult;
            Actionresult.baseViewModel.Message      = "查询信息成功";
            Actionresult.baseViewModel.ResponseCode = 200;
            _ILogger.Information("查询信息成功");

            return(Ok(Actionresult));
        }
Exemple #2
0
        public IActionResult Get()
        {
            var nations = _nationService.GetAll();

            return(Ok(nations));
        }