public DocumentController(IDocumentBusinessLogic documentBusinessLogic, IAuthorizationBusinessLogic authorizationBusinessLogic , IAuditLogBussinesLogic auditLogBussinesLogic, IUserBusinessLogic userBusinessLogic) { DocumentBusinessLogic = documentBusinessLogic; AuthorizationBusinessLogic = authorizationBusinessLogic; AuditLogBussinesLogic = auditLogBussinesLogic; UserBusinessLogic = userBusinessLogic; }
public void TestInitialize() { mockDocumentDataAccess = new Mock <IDocumentDataAccess>(); mockUserDataAccess = new Mock <IUserDataAccess>(); documentBusinessLogic = new DocumentBusinessLogic(mockDocumentDataAccess.Object, mockUserDataAccess.Object); document = Utils.CreateDocumentForTest(); paragraph = Utils.CreateParagraphForTest(); margin = Utils.CreateMarginForTest(); }
public DocumentController(IDocumentBusinessLogic businessLogic) { _businessLogic = businessLogic; }