public RentsService(PhotoparallelDbContext context, IUsersService usersService, IInvoicesService invoicesService, IProductsService productsService) { this.context = context; this.usersService = usersService; this.invoicesService = invoicesService; this.productsService = productsService; }
public InvoicesController(IInvoicesService invoicesService, IUsersService usersService, ICarsService carsService, UserManager <ApplicationUser> userManager) { this.invoicesService = invoicesService; this.usersService = usersService; this.carsService = carsService; this.userManager = userManager; }
public InvoicesController(IInvoicesService invoicesService, IOrdersService ordersService, IMapper mapper, IRentsService rentsService) { this.invoicesService = invoicesService; this.ordersService = ordersService; this.mapper = mapper; this.rentsService = rentsService; }
public OrdersController( IDeletableEntityRepository <Order> orders, IDeletableEntityRepository <OrderTo> orderTos, IDeletableEntityRepository <Currency> currencies, IDeletableEntityRepository <OrderStatus> orderStatuses, IOrdersService ordersService, IFinanceService financeService, IPdfService pdfService, IViewRenderService viewRenderService, IContactsService contactsService, IInvoicesService invoicesService, INotyfService notyfService, IStringLocalizer <OrdersController> localizer) { this.orders = orders; this.orderTos = orderTos; this.currencies = currencies; this.orderStatuses = orderStatuses; this.ordersService = ordersService; this.financeService = financeService; this.pdfService = pdfService; this.viewRenderService = viewRenderService; this.contactsService = contactsService; this.invoicesService = invoicesService; this.notyfService = notyfService; this.localizer = localizer; }
public RecurrentOrdersInvoiceGeneratorJob( IOrdersService ordersService, IInvoicesService invoicesService) { this.ordersService = ordersService; this.invoicesService = invoicesService; }
public DashboardController( IViewRenderService viewRenderService, IHtmlToPdfConverter htmlToPdfConverter, IInvoicesService invoice) { this.viewRenderService = viewRenderService; this.htmlToPdfConverter = htmlToPdfConverter; this.invoice = invoice; }
public AgenciesController(IUsersService usersService, IAgenciesService agenciesService, IPaymentDetailsService paymentService, IUsersRolesService rolesService, IInvoicesService invoicesService) { this.usersService = usersService; this.agenciesService = agenciesService; this.paymentService = paymentService; this.rolesService = rolesService; this.invoicesService = invoicesService; }
public InvoicesController(StaffDb context, IInvoicesService invoicesService //,ILogger logger ) { _context = context; _invoicesService = invoicesService; //_logger = logger; }
/// <summary> /// ctor /// </summary> /// <param name="deliveryMessage">Instance of the users message</param> /// <param name="postOperatorsService">Object of the PostOperators service</param> /// <param name="invoicesService">>Object of the Invoices service</param> /// <param name="mapper">Object map</param> public MainController(IDeliveryMessage deliveryMessage, IPostOperatorService postOperatorsService, IInvoicesService invoicesService, IMapper mapper) { this.deliveryMessage = deliveryMessage; this.postOperatorsService = postOperatorsService; this.invoicesService = invoicesService; this.mapper = mapper; }
/// <summary> /// ctor /// </summary> /// <param name="deliveryMessage">Instance of the users message</param> /// <param name="adminService">Object of the aadmin service</param> /// <param name="invoicesService">Object of the Invoices service</param> /// <param name="mapper">Object map</param> public AdminController(IDeliveryMessage deliveryMessage, IAdminService adminService, IInvoicesService invoicesService, IMapper mapper) { this.deliveryMessage = deliveryMessage; this.adminService = adminService; this.invoicesService = invoicesService; this.mapper = mapper; }
// GET: Home public DashboardsController(IInvoicesService invoicesService, ILeaseContractsService leaseContractsService, IAuthService authService, IRolesService rolesService) { this.invoicesService = invoicesService; this.leaseContractsService = leaseContractsService; this.authService = authService; this.rolesService = rolesService; }
public InvoicesController( IDeletableEntityRepository <InvoiceIn> invoiceIns, IDeletableEntityRepository <InvoiceOut> invoiceOuts, IOrdersService ordersService, INotyfService notyfService, IInvoicesService invoicesService, IStringLocalizer <OrdersController> localizer) { this.invoiceIns = invoiceIns; this.invoiceOuts = invoiceOuts; this.ordersService = ordersService; this.notyfService = notyfService; this.invoicesService = invoicesService; this.localizer = localizer; }
public OrdersService( IDeletableEntityRepository <Order> ordersRepository, IAppointmentsService appointmentsService, IJobsService jobsService, IInvoicesService invoicesService, IServicesService servicesService, ITeamsService teamsService) { this.ordersRepository = ordersRepository; this.appointmentsService = appointmentsService; this.appointmentsService = appointmentsService; this.jobsService = jobsService; this.invoicesService = invoicesService; this.servicesService = servicesService; this.teamsService = teamsService; }
public ProjectsController(IProjectManagementService projectManagementService, IProjectsService projectsService, IPurchaseOrdersService purchaseOrdersService, IProjectTemplatesService projectTemplatesService, ISitesService sitesService, IPOsService pOsService, IInvoicesService invoicesService, IJobsService jobsService) { this.projectManagementService = projectManagementService; this.projectsService = projectsService; this.purchaseOrdersService = purchaseOrdersService; this.projectTemplatesService = projectTemplatesService; this.sitesService = sitesService; this.pOsService = pOsService; this.invoicesService = invoicesService; this.jobsService = jobsService; }
public TransactionsController( IDeletableEntityRepository <InvoiceIn> invoiceIns, IDeletableEntityRepository <InvoiceOut> invoiceOuts, IDeletableEntityRepository <AccountingType> accountingTypes, IDeletableEntityRepository <Company> companies, IDeletableEntityRepository <BankMovement> bankMovements, IMapper mapper, IOrdersService ordersService, INotyfService notyfService, IInvoicesService invoicesService, IStringLocalizer <OrdersController> localizer) { this.invoiceIns = invoiceIns; this.invoiceOuts = invoiceOuts; this.accountingTypes = accountingTypes; this.companies = companies; this.bankMovements = bankMovements; this.mapper = mapper; this.ordersService = ordersService; this.notyfService = notyfService; this.invoicesService = invoicesService; this.localizer = localizer; }
public MyAgencyInvoicesController(IInvoicesService invoiceService, IUsersService usersService) { this.invoiceService = invoiceService; this.usersService = usersService; }
public InvoiceReportsController(ICarsService carsService, UserManager <ApplicationUser> userManager, IInvoicesService invoicesService) { this.carsService = carsService; this.userManager = userManager; this.invoicesService = invoicesService; }
public InvoicesController(IInvoicesService invoicesService) { _invoicesService = invoicesService; }
public InvoicesController(IUsersService usersService, IInvoicesService invoicesService, IAgenciesService agencyServices) { this.usersService = usersService; this.invoicesService = invoicesService; this.agencyServices = agencyServices; }
public InvoiceServiceExample() { _service = new InvoicesService(); _itemsService = new ItemsService(); _customersService = new CustomersService(); }
public InvoicesController(IInvoicesService authService) { _invoicesService = authService; }
public void SetUp() { Books = new Collection <Book> { DefaultData.Books.JsPocketGuide, DefaultData.Books.JsForProfessionals, DefaultData.Books.JsOptimizingPerfomance, DefaultData.Books.Es6AndNotOnly, DefaultData.Books.ClrVia, DefaultData.Books.MyEvernoteNotes, DefaultData.Books.WithoutAuthorsBook, DefaultData.Books.CSharpCompleteGuide, DefaultData.Books.CSharp6AndNetPlatform, DefaultData.Books.AsyncProgrammingCSharp5 }; Authors = new Collection <Author>() { DefaultData.Authors.Devis, DefaultData.Authors.Ferguson, DefaultData.Authors.Flenagan, DefaultData.Authors.Jepkins, DefaultData.Authors.Rezig, DefaultData.Authors.Rihter, DefaultData.Authors.Shildt, DefaultData.Authors.Simpson, DefaultData.Authors.Troelsen, DefaultData.Authors.Yazynin, DefaultData.Authors.Zakas }; Genres = new Collection <Genre>() { DefaultData.Genres.CSharp, DefaultData.Genres.ComputersAndTecnology, DefaultData.Genres.DotNet, DefaultData.Genres.JavaScript, DefaultData.Genres.LanguageAndTools, DefaultData.Genres.MicrosoftProgramming, DefaultData.Genres.Programming, DefaultData.Genres.WebProgramming }; #region Publishers DefaultData.Publishers.Viliams.Books = new List <Book>() { DefaultData.Books.JsPocketGuide, DefaultData.Books.JsForProfessionals, DefaultData.Books.CSharpCompleteGuide, DefaultData.Books.CSharp6AndNetPlatform }; DefaultData.Publishers.Self.Books = new List <Book>() { DefaultData.Books.WithoutAuthorsBook, DefaultData.Books.MyEvernoteNotes }; DefaultData.Publishers.Piter.Books = new List <Book>() { DefaultData.Books.Es6AndNotOnly, DefaultData.Books.ClrVia }; DefaultData.Publishers.DmkPress.Books = new List <Book>() { DefaultData.Books.AsyncProgrammingCSharp5 }; DefaultData.Publishers.SymbolPlus.Books = new List <Book>() { DefaultData.Books.JsOptimizingPerfomance }; Publishers = new Collection <Publisher>() { DefaultData.Publishers.Self, DefaultData.Publishers.DmkPress, DefaultData.Publishers.Piter, DefaultData.Publishers.SymbolPlus, DefaultData.Publishers.Viliams, }; #endregion Invoices = new Collection <Invoice>() { DefaultData.Invoices.First, DefaultData.Invoices.Second, DefaultData.Invoices.Third }; Subscribers = new Collection <Subscriber>() { DefaultData.Subscribers.Petrov, DefaultData.Subscribers.Ivanov, DefaultData.Subscribers.Maslov, DefaultData.Subscribers.Sidorov }; Rents = new Collection <Rent>() { DefaultData.Rents.RentIvanov1, DefaultData.Rents.RentIvanov2, DefaultData.Rents.RentIvanov3, DefaultData.Rents.RentMaslov, DefaultData.Rents.RentMaslov2, DefaultData.Rents.RentMaslov3, DefaultData.Rents.RentMaslov4, DefaultData.Rents.RentMaslov5, DefaultData.Rents.RentPetrov, DefaultData.Rents.RentSidorov, DefaultData.Rents.RentSidorov2, DefaultData.Rents.RentSidorov3, DefaultData.Rents.RentSidorov4, DefaultData.Rents.RentSidorov5, }; var stubBookRepository = new BookRepositoryStub(Books).Get(); var stubAuthorRepository = new AuthorRepositoryStub(Authors).Get(); var stubGenresRepository = GetGenresRepositoryStub(); var stubPublishersRepository = new PublishersRepositoryStub(Publishers).Get(); var stubInvoicesRepository = new InvoicesRepositoryStub(Invoices).Get(); var stubSubscribersRepository = new SubscribersRepositoryStub(Subscribers).Get(); var stubRentsRepository = new RentsRepositoryStub(Rents).Get(); var unitOfWork = Mock.Of <IUnitOfWork>(x => x.BookRepository == stubBookRepository.Object && x.AuthorRepository == stubAuthorRepository.Object && x.GenreRepository == stubGenresRepository.Object && x.PublisherRepository == stubPublishersRepository.Object && x.InvoiceRepository == stubInvoicesRepository.Object && x.SubscriberRepository == stubSubscribersRepository.Object && x.RentRepository == stubRentsRepository.Object); BooksService = new BooksService(unitOfWork); AuthorsService = new AuthorsService(unitOfWork); GenresService = new GenresService(unitOfWork); PublishersService = new PublishersService(unitOfWork); InvoicesService = new InvoicesService(unitOfWork); SubscribersService = new SubscribersService(unitOfWork); RentsService = new RentsService(unitOfWork); ReportsService = new ReportsService(unitOfWork); }
public ValidationController(ICarsService carsService, IUsersService usersService, IInvoicesService invoicesService) { this.carsService = carsService; this.usersService = usersService; this.invoicesService = invoicesService; }
public InvoicesAdminController(IInvoicesService invoiceService) { this.invoiceService = invoiceService; }
public ServiceBackgroundJob(IInvoicesService invoicesService) { _invoicesService = invoicesService; }
public OrdersController(IOrdersService ordersService, IProductsService productsService, IInvoicesService invoiceService) { this.ordersService = ordersService; this.productsService = productsService; this.invoiceService = invoiceService; }
public InvoicesController(IInvoicesService invoicesService, IInvoiceWorkflowService workflowService) { this.invoicesService = invoicesService; this.workflowService = workflowService; }
public FinancialController(IInvoicesService invoicesService, IJobsService jobsService) { this.invoicesService = invoicesService; this.jobsService = jobsService; }