public User Delete(User u) { using (dbc = DAL.Instance.GetDb()){ dbc.Delete <User>(u); PasswordManager.Delete(u.PasswordId); } return(u); }