public static void DeleteUser(DAL.User user)
 {
     try
     {
         using (TransactionScope ts = new TransactionScope())
         {
             using (BLL.UserManager um = new BLL.UserManager())
             {
                 WebSecurity.Membership.DeleteUser(user.UserName);
                 um.DeleteUser(user);
             }
             ts.Complete();
         }
     }
     catch (Exception)
     {
         throw new Exceptions.UserException("Deleting user failed.");
     }
 }