public void AddUserJson(User entity) { try { var model = new UserDao(); var encryptedMd5Pas = Encryptor.MD5Hash(entity.Password); entity.Password = encryptedMd5Pas; var result = model.AddUserJson(entity); } catch (Exception) { throw; } }
public void AddUserJson(User entity) { try { var model = new UserDao(); var encryptedMd5Pas = Encryptor.MD5Hash(entity.Password); entity.Password = encryptedMd5Pas; var result = model.AddUserJson(entity); } catch (Exception) { throw; } }