BinaryStudio.TaskManager.Logic.Core.NewsRepository.GetNewsById C# (CSharp) 메소드

GetNewsById() 공개 메소드

public GetNewsById ( int newsId ) : News
newsId int
리턴 BinaryStudio.TaskManager.Logic.Domain.News
        public News GetNewsById(int newsId)
        {
            return this.dataBaseContext.News.ToList().SingleOrDefault(x => x.Id == newsId);
        }