public BookService(IUnitOfWork2 uow, IApplicationSettings appSettings, IRoleService roleService, IUserService userService, IMailingService mailingService, IMailTemplate mailTemplate, IOrganizationService organizationService, IBookInfoService bookInfoService, IBookServiceValidator bookServiceValidator, IBookMobileServiceValidator bookMobileServiceValidator, IAsyncRunner asyncRunner) { _uow = uow; _appSettings = appSettings; _roleService = roleService; _userService = userService; _mailingService = mailingService; _mailTemplate = mailTemplate; _organizationService = organizationService; _booksDbSet = uow.GetDbSet <Book>(); _officesDbSet = uow.GetDbSet <Office>(); _bookLogsDbSet = uow.GetDbSet <BookLog>(); _userDbSet = uow.GetDbSet <ApplicationUser>(); _bookOfficesDbSet = uow.GetDbSet <BookOffice>(); _bookInfoService = bookInfoService; _bookServiceValidator = bookServiceValidator; _serviceValidator = bookMobileServiceValidator; _asyncRunner = asyncRunner; }
public BookService( IUnitOfWork2 uow, IBookInfoService bookInfoService, IBookServiceValidator bookServiceValidator, IBooksNotificationService bookNotificationService, IBookMobileServiceValidator bookMobileServiceValidator) { _uow = uow; _booksDbSet = uow.GetDbSet <Book>(); _officesDbSet = uow.GetDbSet <Office>(); _bookLogsDbSet = uow.GetDbSet <BookLog>(); _userDbSet = uow.GetDbSet <ApplicationUser>(); _bookOfficesDbSet = uow.GetDbSet <BookOffice>(); _bookInfoService = bookInfoService; _bookServiceValidator = bookServiceValidator; _serviceValidator = bookMobileServiceValidator; _bookNotificationService = bookNotificationService; }
public BookService( IUnitOfWork2 uow, IBookInfoService bookInfoService, IBookServiceValidator bookServiceValidator, IBookMobileServiceValidator bookMobileServiceValidator, IAsyncRunner asyncRunner) { _uow = uow; _booksDbSet = uow.GetDbSet <Book>(); _officesDbSet = uow.GetDbSet <Office>(); _bookLogsDbSet = uow.GetDbSet <BookLog>(); _userDbSet = uow.GetDbSet <ApplicationUser>(); _bookOfficesDbSet = uow.GetDbSet <BookOffice>(); _bookInfoService = bookInfoService; _bookServiceValidator = bookServiceValidator; _serviceValidator = bookMobileServiceValidator; this._asyncRunner = asyncRunner; }