Ejemplo n.º 1
0
        public IActionResult Index()
        {
            ResponseDetails response = _apiHelper.SendApiRequest("", "user/get-all", HttpMethod.Get);

            List <UserViewModel> model = JsonConvert.DeserializeObject <List <UserViewModel> > (response.Data.ToString());

            _dataProtector.ProtectUserRouteValues(model);

            return(View(model));
        }