public List <JobIndexGroup> GetAllParentJobIndexGroup(Period period) { using (var tr = new TransactionScope()) { var res = jobIndexRep.GetAllParentJobIndexGroup(period); tr.Complete(); return(res); } }
public List <JobIndexGroup> GetAllParentJobIndexGroup(Period period) { using (var tr = new TransactionScope()) { var res = jobIndexRep.GetAllParentJobIndexGroup(period); tr.Complete(); return(res); } }