public JsPermissionApplyTest() { CNBlogs.Apply.BootStrapper.Startup.Configure(); _applyAuthenticationService = IocContainer.Default.Resolve <IApplyAuthenticationService>(); _jsPermissionApplyRepository = IocContainer.Default.Resolve <IJsPermissionApplyRepository>(); _unitOfWork = IocContainer.Default.Resolve <IUnitOfWork>(); }
public JsPermissionApplyService(IUnitOfWork unitOfWork, IApplyAuthenticationService applyAuthenticationService, IJsPermissionApplyRepository jsPermissionApplyRepository) { _unitOfWork = unitOfWork; _applyAuthenticationService = applyAuthenticationService; _jsPermissionApplyRepository = jsPermissionApplyRepository; }
public JsPermissionApplyTest() { CNBlogs.Apply.BootStrapper.Startup.Configure(); _applyAuthenticationService = IocContainer.Default.Resolve<IApplyAuthenticationService>(); _jsPermissionApplyRepository = IocContainer.Default.Resolve<IJsPermissionApplyRepository>(); _unitOfWork = IocContainer.Default.Resolve<IUnitOfWork>(); }
public BlogChangeApplyService(IUnitOfWork unitOfWork, IApplyAuthenticationService applyAuthenticationService, IBlogChangeApplyRepository blogChangeApplyRepository) { _unitOfWork = unitOfWork; _applyAuthenticationService = applyAuthenticationService; _blogChangeApplyRepository = blogChangeApplyRepository; }