示例#1
0
        public IActionResult GetLastMagazines()
        {
            var res = _magazineService.GetLastMagazines(10);

            if (!res.IsOk())
            {
                return(StatusCode((int)res.Status, res.Message));
            }
            return(PartialView("Partials/_LastMagazines", res.Data));
        }