Christoc.Modules.DnnChat.Components.ConnectionRecordRoomController.GetConnectionRecordRooms C# (CSharp) Méthode

GetConnectionRecordRooms() public méthode

public GetConnectionRecordRooms ( int moduleId ) : IEnumerable
moduleId int
Résultat IEnumerable
        public IEnumerable<ConnectionRecordRoom> GetConnectionRecordRooms(int moduleId)
        {
            IEnumerable<ConnectionRecordRoom> t;
            using (IDataContext ctx = DataContext.Instance())
            {
                var rep = ctx.GetRepository<ConnectionRecordRoom>();
                t = rep.Get(moduleId);
            }
            return t;
        }