BLL.ActiveMulticastSession.GetFromPort C# (CSharp) 메소드

GetFromPort() 공개 정적인 메소드

public static GetFromPort ( int port ) : Models.ActiveMulticastSession
port int
리턴 Models.ActiveMulticastSession
        public static Models.ActiveMulticastSession GetFromPort(int port)
        {
            using (var uow = new DAL.UnitOfWork())
            {
                return uow.ActiveMulticastSessionRepository.GetFirstOrDefault(x => x.Port == port);
            }
        }