Browse Source

added pkguid error public message

tags/v0.1.0
Robin Thoni 8 years ago
parent
commit
51a521ea86
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      WebTest/Business/PkGuidBusiness.cs

+ 2
- 2
WebTest/Business/PkGuidBusiness.cs View File

16
         {
16
         {
17
             if (obj.SomeText.EndsWith("_edited"))
17
             if (obj.SomeText.EndsWith("_edited"))
18
             {
18
             {
19
-                return LuResult<PkGuidAddDbo>.Error(LuStatus.InputError, "someText can not end with '_edited'");
19
+                return LuResult<PkGuidAddDbo>.Error(LuStatus.InputError, "someText can not end with '_edited'", "");
20
             }
20
             }
21
             return LuResult<PkGuidAddDbo>.Ok(obj);
21
             return LuResult<PkGuidAddDbo>.Ok(obj);
22
         }
22
         }
25
         {
25
         {
26
             if (!update.SomeText.EndsWith("_edited"))
26
             if (!update.SomeText.EndsWith("_edited"))
27
             {
27
             {
28
-                return LuResult<PkGuidAddDbo>.Error(LuStatus.InputError, "someText must end with '_edited'");
28
+                return LuResult<PkGuidAddDbo>.Error(LuStatus.InputError, "someText must end with '_edited'", "");
29
             }
29
             }
30
             return LuResult<PkGuidAddDbo>.Ok(update);
30
             return LuResult<PkGuidAddDbo>.Ok(update);
31
         }
31
         }

Loading…
Cancel
Save