is it possible to delete row from default table AspNetUsers ? if yes please explain.
i able to delete record which has Fk of AspNetUsers.
public ActionResult Delete(STUDENT st)
{
var studentuser = st.user;
st.user = null;
db.Entry(st).State = EntityState.Deleted;
db.SaveChanges();// delete from db successfully
var userid = User.Identity.GetUserId();
var user = _userManager.FindById(userid);
_userManager.DeleteAsync(user);
return RedirectToAction("Index", "Admin");
}