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