public static TopicPaper New() { TopicPaper topicPaper = new TopicPaper() { }; return(topicPaper); }
public void DeletePaperOfTopic(PaperEntity entity, long topicId) { TopicPaper tp = new TopicPaper() { TopicId = topicId, PaperId = entity.PaperId }; topicPaperRepository.DeletePaperOfTopic(tp); }
public void DeletePaperOfTopic(PaperEntity entity,long topicId) { TopicPaper tp = new TopicPaper() {TopicId=topicId,PaperId=entity.PaperId }; topicPaperRepository.DeletePaperOfTopic(tp); }
public static TopicPaper New() { TopicPaper topicPaper = new TopicPaper() { }; return topicPaper; }