public IAggregate Handle(DeleteTaskPod command) { var taskPod = _repo.GetById <TaskPod>(command.Id); _repo.DeleteAggregate <TaskPod>(command.Id, true); return(taskPod); }
public IAggregate Handle(DeleteTaskPod command) { var taskPod = _repo.GetById <TaskPod>(command.Id); _repo.DeleteAggregate <TaskPod>(command.Id, true); return(taskPod); }