public BlogServiceBase(ModelStateDictionary modelState, BlogRepositoryBase blogRepository)
 {
     _modelState = modelState;
     _blogRepository = blogRepository;
 }
 public ApplicationControllerChild(BlogRepositoryBase blogRepository)
     : base(blogRepository)
 {
 }
 public ArchiveController(BlogRepositoryBase blogRepository)
     : base(blogRepository)
 {
 }
 public BlogController(BlogRepositoryBase repository)
 {
     _repository = repository;
 }
 public CommentController(BlogRepositoryBase blogRepository)
 {
     _blogService = new BlogService(this.ModelState, blogRepository);
 }
Exemple #6
0
 public BlogServiceBase(ModelStateDictionary modelState, BlogRepositoryBase blogRepository)
 {
     _modelState     = modelState;
     _blogRepository = blogRepository;
 }
 public BlogService(ModelStateDictionary modelState, BlogRepositoryBase blogRepository)
     : base(modelState, blogRepository)
 {
 }
 public BlogController(BlogRepositoryBase blogRepository)
     : base(blogRepository)
 {
 }
        public ApplicationController(BlogRepositoryBase blogRepository)
        {
            _blogService = new BlogService(this.ModelState, blogRepository);

            ViewData["ArchiveInfo"] = _blogService.ListBlogEntriesByMonth();
        }
 public ArchiveController(BlogRepositoryBase repository)
 {
     _repository = repository;
 }
Exemple #11
0
 public BlogService(ModelStateDictionary modelState, BlogRepositoryBase blogRepository)
     : base(modelState, blogRepository)
 {
 }
 //}
 public BlogController(BlogRepositoryBase repository)
 {
     // TODO: Complete member initialization
     _repository = repository;
 }