public HomeController(Core.Services.UserService userService, Core.Services.MailService mailService, Core.Services.EditService editService, Core.Services.LetterService letterService, Core.Services.CommentService commentService, Core.Services.QueueService queueService, Core.Services.VoteService voteService) { _userService = userService; _mailService = mailService; _editService = editService; _letterService = letterService; _commentService = commentService; _queueService = queueService; _voteService = voteService; if (FormsService == null) { FormsService = new FormsAuthenticationService(); } if (MembershipService == null) { MembershipService = new AccountMembershipService(); } }
public CommentController(CommentService commentService, MailService mailService) { _commentService = commentService; _mailService = mailService; }