Free cookie consent management tool by TermsFeed Policy Generator

Changeset 9304 for trunk/sources


Ignore:
Timestamp:
03/11/13 13:39:23 (12 years ago)
Author:
ascheibe
Message:

#2019 UpdateTaskState has to return a complete task object

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Services.Hive/3.3/HiveDao.cs

    r9266 r9304  
    216216        task.State = taskState;
    217217        db.SubmitChanges();
     218      }
     219
     220      using (var db = CreateContext()) {
     221        var task = db.Tasks.SingleOrDefault(x => x.TaskId == taskId);
    218222        return DT.Convert.ToDto(task);
    219223      }
Note: See TracChangeset for help on using the changeset viewer.