public NewApiControllerBaseAsync()
 {
     try
     {
         this.businessRule    = this.CreateBusinessRule();
         this.businessManager = new WebApiBusinessManager <TEntity>(this.businessRule);
     }
     catch (Exception ex)
     {
         ExceptionManager.HandleException(ex);
     }
 }
示例#2
0
 public WebApiBusinessManager(IBusinessRuleBaseAsync <TEntity> businessRule)
     : base(businessRule)
 {
 }
示例#3
0
 public BusinessManager(IBusinessRuleBaseAsync <TEntity> businessRule)
 {
     this.businessRule = businessRule;
 }