Esempio n. 1
0
 public NewsCommentsController(
     INewsCommentsService commentsService,
     UserManager <CinemaWorldUser> userManager)
 {
     this.newsCommentsService = commentsService;
     this.userManager         = userManager;
 }
        public NewsCommentsServiceTests()
        {
            this.InitializeMapper();
            this.InitializeDatabaseAndRepositories();
            this.InitializeFields();

            this.newsCommentsService = new NewsCommentsService(this.newsCommentsRepository);
        }