public IActionResult Index() { if (User.Identity.Name != "*****@*****.**" && User.Identity.Name != "*****@*****.**") { return(VratiNijeAutorizovan()); } var gradovi = gradoviServis.Get(); ViewData["gradoviKey"] = gradovi; return(View()); }
public List <GradoviVM> Get() { var list = _service.Get(); return(list); }
public List <Gradovi> Get() { //gradoviAutorizator.AuthorizeGet(usersService.GetRequestUserName(HttpContext.Request)); return(gradoviService.Get()); }
public List <Model.Gradovi> Get([FromQuery] Model.Requests.GradoviSearchRequest request) { return(_service.Get(request)); }