예제 #1
0
 public TaskCommentsController(
     ITaskCommentRepository taskCommentRepository,
     UserManager <User> userManager)
 {
     _taskCommentRepository = taskCommentRepository;
     _userManager           = userManager;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TaskService"/> class.
 /// </summary>
 /// <param name="taskRepository">The task repository.</param>
 /// <param name="taskCommentRepository">The task comment repository.</param>
 public TaskService(ITaskRepository taskRepository, ITaskCommentRepository taskCommentRepository)
 {
     this.taskRepository        = taskRepository;
     this.taskCommentRepository = taskCommentRepository;
 }
예제 #3
0
 public TaskCommentService(ITaskCommentRepository commentRepo)
 {
     _commentRepo = commentRepo;
 }