public AccountController(
     IBlogSystemData data,
     ApplicationUserManager userManager,
     ApplicationSignInManager signInManager)
     : base(data)
 {
     this.UserManager   = userManager;
     this.SignInManager = signInManager;
 }
Exemple #2
0
 public AuthService(IBlogSystemContext ctx,
                    IBlogSystemData data,
                    UserManager <User> userManager,
                    IPasswordHasher <User> passwordHasher,
                    IOptions <AppConfiguration> appConfiguration)
 {
     _ctx              = ctx;
     _data             = data;
     _userManager      = userManager;
     _passwordHasher   = passwordHasher;
     _appConfiguration = appConfiguration;
 }
 protected BaseController(IBlogSystemData data, ApplicationUser userProfile)
     : this(data)
 {
     this.UserProfile = userProfile;
 }
 public BaseService(IBlogSystemData data)
 {
     this.Data       = data;
     this.repository = data.GetRepository <T>();
 }
 public BlogPostsController(IBlogSystemData data, ISanitizer sanitizer)
     : base(data)
 {
     this.sanitizer = sanitizer;
 }
 public TagPresenter(ITagView view, IBlogSystemData data)
 {
     this.Data = data;
     this.view = view;
 }
Exemple #7
0
 public PostsController(IBlogSystemData data)
 {
     this.data = data;
 }
Exemple #8
0
 protected TagsController(IBlogSystemData data)
 {
     this.data = data;
 }
 public ManageController(IBlogSystemData data, ApplicationUserManager userManager, ApplicationSignInManager signInManager)
     : base(data)
 {
     this.UserManager = userManager;
     this.SignInManager = signInManager;
 }
Exemple #10
0
 public SystemImageService(IBlogSystemData data)
 {
     _data = data;
 }
 protected BaseApiController()
 {
     this.data = new BlogSystemData(new BlogSystemDbContext());
 }
 protected AdministrationController(IBlogSystemData data)
     : base(data)
 {
 }
Exemple #13
0
 public PostService(IBlogSystemData data)
 {
     _data = data;
 }
 public ApplicationUsersController(IBlogSystemData data)
     : base(data)
 {
 }
 private BasePresenter(IBlogSystemData data)
 {
     this.Data = data;
 }
Exemple #16
0
 public PagesController(IBlogSystemData data, IUrlGenerator urlGenerator)
     : base(data)
 {
     this.urlGenerator = urlGenerator;
 }
Exemple #17
0
 public CommentsController(IBlogSystemData data)
 {
     this.data = data;
 }
 public CommentsController(IBlogSystemData data)
 {
     this.data = data;
 }
Exemple #19
0
 public PostCommentsController(IBlogSystemData data)
     : base(data)
 {
 }
 protected AdministrationController(IBlogSystemData data)
     : base(data)
 {
 }
 public BaseAuthorizationController(IBlogSystemData data)
 {
     this.data = data;
 }
Exemple #22
0
 public UserService(IBlogSystemData data)
 {
     _data = data;
 }
 protected BaseApiController(IBlogSystemData data)
 {
     _data = data;
 }
Exemple #24
0
 protected BaseController(IBlogSystemData data, ICurrentUser userProfile)
     : this(data)
 {
     this.UserProfile = userProfile.Get();
 }
 public SidebarController(IBlogSystemData data)
     : base(data)
 {
 }
 public UsersService(IBlogSystemData data) : base(data)
 {
 }
 public BlogPresenter(IBlogView view, IBlogSystemData data)
 {
     this.view = view;
     this.Data = data;
 }
Exemple #28
0
 public ApplicationUsersController(IBlogSystemData data)
     : base(data)
 {
 }
Exemple #29
0
 public UsersController(IBlogSystemData data)
 {
     this.data = data;
 }
 protected BaseController(IBlogSystemData data)
 {
     this.Data = data;
 }
 public MemoryCacheService(IBlogSystemData data)
 {
     this.data = data;
 }
 public SearchPresenter(ISearchView view, IBlogSystemData data)
 {
     this.view = view;
     this.Data = data;
 }
Exemple #33
0
 public PostService(IBlogSystemData data)
     : base(data)
 {
 }
 public PostCommentsController(IBlogSystemData data)
     : base(data)
 {
 }
Exemple #35
0
 public CurrentUser(IBlogSystemData data)
 {
     this.data = data;
 }
Exemple #36
0
 protected BaseApiController()
 {
     this.data = new BlogSystemData(new BlogSystemDbContext());
 }
Exemple #37
0
 public PostsController(IBlogSystemData data)
 {
     this.data = data;
 }
 public HomePresenter(IBlogSystemData data, IHomeView view)
 {
     this.Data = data;
     this.view = view;
 }
 protected CommentsController(IBlogSystemData data)
 {
     this.data = data;
 }
Exemple #40
0
 public BaseController(IBlogSystemData data)
 {
     this.data = data;
 }
Exemple #41
0
 public BlogService(IBlogSystemContext context, IBlogSystemData data)
 {
     _context = context;
     _data    = data;
 }
Exemple #42
0
 public HomeController(IBlogSystemData data)
     : base(data)
 {
 }
 public NewPostPresenter(INewPostView view, IBlogSystemData data)
 {
     this.view = view;
     this.Data = data;
 }
 public SettingsController(IBlogSystemData data)
     : base(data)
 {
 }
Exemple #45
0
 public BaseController(IBlogSystemData data)
 {
     this.Data = data;
 }
Exemple #46
0
 public PagesController(IBlogSystemData data)
     : base(data)
 {
 }
Exemple #47
0
 public CommentService(IBlogSystemData data)
 {
     _data = data;
 }
Exemple #48
0
 protected BaseController(IBlogSystemData data)
 {
     this.Data = data;
 }
 public BlogPostsController(IBlogSystemData data)
     : base(data)
 {
 }
Exemple #50
0
 public HomeController(IBlogSystemData data)
     : base(data)
 {
 }
 public CategoryPresenter(IBlogSystemData data, ICategoryView view)
 {
     this.Data = data;
     this.view = view;
 }