public RequestService( IRepository <Request> requestRepository, IRepository <Book> bookRepository, IMapper mapper, IEmailSenderService emailSenderService, IRepository <User> userRepository, IPaginationService paginationService, IRepository <Language> bookLanguageRepository, IHangfireJobScheduleService hangfireJobScheduleService, IRepository <BookAuthor> bookAuthorRepository, IRepository <BookGenre> bookGenreRepository, IRepository <UserRoom> userLocationRepository, IRootRepository <BookRootComment> rootCommentRepository, IWishListService wishListService, INotificationsService notificationsService) { _requestRepository = requestRepository; _bookRepository = bookRepository; _mapper = mapper; _emailSenderService = emailSenderService; _userRepository = userRepository; _paginationService = paginationService; _hangfireJobScheduleService = hangfireJobScheduleService; _bookGenreRepository = bookGenreRepository; _bookLanguageRepository = bookLanguageRepository; _bookAuthorRepository = bookAuthorRepository; _userLocationRepository = userLocationRepository; _rootCommentRepository = rootCommentRepository; _wishListService = wishListService; _notificationsService = notificationsService; }
public RootService( IRootRepository rootRepository, ISettingRepository settingRepository) { _rootRepository = rootRepository; _settingRepository = settingRepository; }
public BookRootCommentService(IRootRepository <BookRootComment> rootCommentRepository, ICommentOwnerMapper commentOwnerMapper, IRepository <Book> bookRepository) { _rootCommentRepository = rootCommentRepository; _commentOwnerMapper = commentOwnerMapper; _bookRepository = bookRepository; }
public static GeneralPurposeTree <T> CreateARoot <T>(IRootRepository <T> repo, string name = "Deneme") { GeneralPurposeTree <T> insertedRoot; long idBeforeInserted; CreateARoot <T>(repo, out insertedRoot, out idBeforeInserted, name); return(insertedRoot); }
public UserService( IRootRepository rootRepository, ISettingRepository settingRepository, IDbCustomerDatabaseFactory customerContextFactory) : base( rootRepository, settingRepository) { _customerContextFactory = customerContextFactory; }
public static void CreateARoot <T>(IRootRepository <T> repo, out GeneralPurposeTree <T> root, out long createdId, string name = "Deneme") { //root = new GeneralPurposeTree<T> { Name = name, Initiator = "murat" }; BindRepoTypeToDb <IRootRepository <T> >(); root = Kernel.Get <GeneralPurposeTree <T> >(); root.Name = name; root.Initiator = "murat"; createdId = root.Id; repo.InsertRoot(root); }
public AuthService( IRootRepository rootRepository, ISettingRepository settingRepository, IDbCustomerDatabaseFactory customerContextFactory, IMapper mapper) : base( rootRepository, settingRepository) { _customerContextFactory = customerContextFactory; _mapper = mapper; }
public RootController(ScoreCardContext context, ILoggerFactory logFactory, IMemoryCache memoryCache, IOptions <ApiSettings> options) : base(context, logFactory, memoryCache, options) { this._repository = new RootRepository(this._context); }
public RootService(IRootRepository rootRepository, IUserRepository userRepository) { _rootRepository = rootRepository; _userRepository = userRepository; }