public void DeleteById(TaskId taskId) { lock (_entityContext) { _entityContext.DeleteById(taskId.Value); _entityContext.Commit(); } }
public Task Load(TaskId taskId) { return ToTask(_entityContext.GetById(taskId.Value)); }
public Task Load(TaskId taskId) { return(ToTask(_entityContext.GetById(taskId.Value))); }