public List <AbstractJobIndex> GetAllAbstractJobIndexByParentId(AbstractJobIndexId id) { using (var tr = new TransactionScope()) { var res = jobIndexRep.GetAllAbstractJobIndexByParentId(id); tr.Complete(); return(res); } }
public List <AbstractJobIndex> GetAllAbstractJobIndexByParentId(AbstractJobIndexId id) { using (var tr = new TransactionScope()) { var res = jobIndexRep.GetAllAbstractJobIndexByParentId(id); tr.Complete(); return(res); } }