diff SilverlightValidation/SilverlightValidation.PL/Models/UserModel.cs @ 109:11994ccdc50b

First wave of tests complete
author stevenhollidge <stevenhollidge@hotmail.com>
date Sun, 06 May 2012 20:37:32 +0100
parents db05a55e3536
children
line wrap: on
line diff
--- a/SilverlightValidation/SilverlightValidation.PL/Models/UserModel.cs	Sun May 06 16:15:42 2012 +0100
+++ b/SilverlightValidation/SilverlightValidation.PL/Models/UserModel.cs	Sun May 06 20:37:32 2012 +0100
@@ -21,11 +21,11 @@
         {
             return new UserModel()
                        {
-                           Username = "",
-                           Password = "",
-                           Email = "",
-                           DateOfBirth = null,
-                           Description = ""
+                           Username = username,
+                           Password = password,
+                           Email = email,
+                           DateOfBirth = dateOfBirth,
+                           Description = descripton
                        };
         }