public ActionResult <ListUsersForListVm> Index() { var model = _adminPanelService.GetAllUsers(); if (model == null) { return(NotFound()); } return(Ok(model)); }
public IActionResult Index() { var model = _adminPanelService.GetAllUsers(); return(View(model)); }