コード例 #1
0
        public ActionResult <ListDestinationForListVm> GetClients()
        {
            var result = _destService.GetAllClients();

            if (result.Count == 0)
            {
                return(NoContent());
            }
            return(Ok(result));
        }
コード例 #2
0
        public IActionResult Index()
        {
            var model = _destService.GetAllClients();

            return(View(model));
        }