public HomeController(IConfiguration configuration, ILoggerFactory loggerFactory, ICategoryLogic categoryLogic, IDocumentLogic documentLogic, ISuggestionLogic suggestionLogic) : base(configuration, loggerFactory) { this.categoryLogic = categoryLogic; this.documentLogic = documentLogic; this.suggestionLogic = suggestionLogic; }
public DocumentController(IDocumentLogic documentLogic, ICategoryLogic categoryLogic, ISuggestionLogic suggestionLogic, IConfiguration configuration, ILoggerFactory loggerFactory, IWebHostEnvironment env) : base(configuration, loggerFactory) { this.documentLogic = documentLogic; this.categoryLogic = categoryLogic; this.suggestionLogic = suggestionLogic; this.env = env; }
public DocumentsController( IInitData initData, IDocumentLogic documentLogic, IDocumentRepository documentRepository, IMapper mapper) { this.initData = initData; this.documentRepository = documentRepository; this.mapper = mapper; this.documentLogic = documentLogic; }
public CanvasController(IShapeBuilder shapeBuilder, IDocumentLogic documentLogic) { _shapes = new List<IShape>(); IsNewShape = false; EnableCreateShape = false; _shapeBuilder = shapeBuilder; _documentLogic = documentLogic; _shapeMoving = false; _startMovingLocationX = 0; _startMovingLocationY = 0; _startShapeMovingLocationX = 0; _startShapeMovingLocationY = 0; }
public BaseController() { // TODO: DI dataLogic = new DataLogic(); bankLogic = new BankLogic(); userLogic = new UserLogic(); orderLogic = new OrderLogic(); legalLogic = new LegalLogic(); personLogic = new PersonLogic(); requestLogic = new RequestLogic(); identityLogic = new IdentityLogic(); employeeLogic = new EmployeeLogic(); documentLogic = new DocumentLogic(); contractLogic = new ContractLogic(); pricelistLogic = new PricelistLogic(); contractorLogic = new ContractorLogic(); accountingLogic = new AccountingLogic(); participantLogic = new ParticipantLogic(); }
public DocumentController(IDocumentLogic <Document> logic) : base(logic) { this.logic = logic; }
public DocumentsController(ILogger <DocumentsController> logger, IDocumentLogic documentLogic) { _logger = logger; _documentLogic = documentLogic; }