Esempio n. 1
0
 public TaskCommentsController(
     ITaskCommentRepository taskCommentRepository,
     UserManager <User> userManager)
 {
     _taskCommentRepository = taskCommentRepository;
     _userManager           = userManager;
 }
Esempio n. 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;
 }
Esempio n. 3
0
 public TaskCommentService(ITaskCommentRepository commentRepo)
 {
     _commentRepo = commentRepo;
 }