Example #1
0
 public static void SaveProfile(TbUser user)
 {
     using (DataAccess.User db = new DataAccess.User())
     {
         db.Update(user);
     }
 }
Example #2
0
 public static void ChangeStatus(string userName, int statusId)
 {
     using (DataAccess.User db = new DataAccess.User())
     {
         db.Update(userName, statusId);
     }
 }