Ejemplo n.º 1
0
        public ActionResult <ListEmployerForListVm> Index()
        {
            var model = _employerService.GetAllActiveEmployersForList(3, 1, "");

            if (model == null)
            {
                return(NotFound());
            }
            return(Ok(model));
        }
Ejemplo n.º 2
0
        public IActionResult Index()
        {
            var model = _employerService.GetAllActiveEmployersForList(3, 1, "");

            return(View(model));
        }