public async Task <HttpResponseMessage> GetNepotvrdenoAsync() { try { var response = Mapper.Map <IEnumerable <KorisnikViewModel> >(await korisnikService.GetNepotvrdenoAsync()); return(Request.CreateResponse(HttpStatusCode.OK, response)); } catch (Exception e) { return(Request.CreateErrorResponse(HttpStatusCode.NotFound, e)); } }