예제 #1
0
 public CompanyController(
     IDbContext dbContext,
     IGenericResponseObjectFactory response
     ) : base(dbContext)
 {
     this.dbContext = dbContext;
     this.response  = response;
 }
예제 #2
0
 public RegistrationController(
     IDbContext dbContext,
     IValidator <User> userValidator,
     IValidation validation,
     IGenericResponseObjectFactory response
     ) : base(dbContext)
 {
     this.dbContext     = dbContext;
     this.userValidator = userValidator;
     this.validation    = validation;
     this.response      = response;
 }