Changeset 4962 for branches/UserManagement/HeuristicLab.Services.Authentication/AuthenticationService.cs
- Timestamp:
- 11/27/10 10:48:24 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UserManagement/HeuristicLab.Services.Authentication/AuthenticationService.cs
r4926 r4962 52 52 } 53 53 54 public boolInsertUser(User user)54 public Guid InsertUser(User user) 55 55 { 56 56 if (user != null) … … 71 71 catch (Exception ex) 72 72 { 73 return false;74 } 75 76 return true;77 78 79 } 80 81 } 82 return false;73 return Guid.Empty; 74 } 75 76 return user.Id; 77 78 79 } 80 81 } 82 return Guid.Empty; 83 83 } 84 84 … … 170 170 } 171 171 172 public boolInsertRole(Role role)172 public Guid InsertRole(Role role) 173 173 { 174 174 … … 188 188 catch (Exception ex) 189 189 { 190 return false;191 } 192 193 return true;194 } 195 196 } 197 return false;190 return Guid.Empty; 191 } 192 193 return role.Id; 194 } 195 196 } 197 return Guid.Empty; 198 198 } 199 199 … … 353 353 #region Application 354 354 355 public boolInsertApplication(Application application)355 public Guid InsertApplication(Application application) 356 356 { 357 357 if (application != null) … … 370 370 catch (Exception ex) 371 371 { 372 return false;373 } 374 375 return true;376 377 } 378 379 } 380 return false;372 return Guid.Empty; 373 } 374 375 return application.Id; 376 377 } 378 379 } 380 return Guid.Empty; 381 381 } 382 382
Note: See TracChangeset
for help on using the changeset viewer.