public NotificationService(
     UserManager <GetShreddedUser> userManager,
     GetShreddedContext context,
     IMapper mapper)
     : base(userManager, context, mapper)
 {
 }
Example #2
0
 public CommentService(
     UserManager <GetShreddedUser> userManager,
     GetShreddedContext context,
     IMapper mapper)
     : base(userManager, context, mapper)
 {
 }
 public AdminService(
     UserManager <GetShreddedUser> userManager,
     GetShreddedContext context, IMapper mapper,
     RoleManager <IdentityRole> roleManager)
     : base(userManager, context, mapper)
 {
     this.RoleManager = roleManager;
 }
Example #4
0
 public DiaryService(
     INotificationService notificationService,
     UserManager <GetShreddedUser> userManager,
     GetShreddedContext context, IMapper mapper)
     : base(userManager, context, mapper)
 {
     this.NotificationService = notificationService;
 }
Example #5
0
 public UserService(
     UserManager <GetShreddedUser> userManager,
     SignInManager <GetShreddedUser> signInManager,
     GetShreddedContext context,
     IMapper mapper)
     : base(userManager, context, mapper)
 {
     this.SignInManager = signInManager;
 }
Example #6
0
        protected BaseService(
            UserManager <GetShreddedUser> userManager,
            GetShreddedContext context,
            IMapper mapper)
        {
            this.UserManager = userManager;

            this.Context = context;
            this.Mapper  = mapper;
        }
        public void SetUp()
        {
            Mapper.Reset();
            Mapper.Initialize(x => { x.AddProfile <GetShreddedProfile>(); });
            var services = SetServices();

            this.Provider = services.BuildServiceProvider();
            this.Context  = this.Provider.GetRequiredService <GetShreddedContext>();
            SetScoppedServiceProvider();
        }
 public CommentsListViewComponent(GetShreddedContext context, IMapper mapper)
 {
     this.Context = context;
     this.Mapper  = mapper;
 }
Example #9
0
 public LogExceptionHandleActionFilter(GetShreddedContext context)
 {
     this.Context = context;
 }