Exemple #1
0
        public IActionResult Delete(string id, AspNetUsersViewModel model)
        {
            var user = new AspNetUsers();

            user.Id = model.Id;

            try
            {
                _apiCalls.DeleteUserApiCall(user, id);
            }
            catch (Exception)
            {
                throw;
            }

            return(RedirectToAction("Index"));
        }