BinaryStudio.TaskManager.Logic.Core.NewsProcessor.AddNews C# (CSharp) Метод

AddNews() публичный Метод

public AddNews ( HumanTaskHistory taskHistory, User user ) : void
taskHistory BinaryStudio.TaskManager.Logic.Domain.HumanTaskHistory
user BinaryStudio.TaskManager.Logic.Domain.User
Результат void
        public void AddNews(HumanTaskHistory taskHistory, User user)
        {
            var news = new News
                           {
                               HumanTaskHistory = taskHistory,
                               IsRead = false,
                               User = user,
                               UserId = user.Id,
                               HumanTaskHistoryId = taskHistory.Id,
                           };
            this.AddNews(news);
        }

Same methods

NewsProcessor::AddNews ( News news ) : void