Changeset 1826 for trunk/sources/HeuristicLab.Hive.Server.Core/3.2
- Timestamp:
- 05/15/09 13:46:51 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.Core/3.2/ClientManager.cs
r1825 r1826 159 159 Response response = new Response(); 160 160 161 if (resource.Id != Guid.Empty) {162 response.Success = false;163 response.StatusMessage = ApplicationConstants.RESPONSE_CLIENT_ID_MUST_NOT_BE_SET;164 return response;165 }166 167 161 ClientGroup clientGroup = clientGroupAdapter.GetById(clientGroupId); 168 162 if (clientGroup == null) { … … 172 166 } 173 167 clientGroup.Resources.Add(resource); 168 clientGroupAdapter.Update(clientGroup); 174 169 175 170 response.Success = true;
Note: See TracChangeset
for help on using the changeset viewer.