Ejemplo n.º 1
0
 public ReplacePhoneManage(BrandContext brandContext, BrandTypeContext brandTypeContext, BrandTypeProductNoContext brandTypeProductNoContext, TypeYearContext typeYearContext)
 {
     _brandContext              = brandContext;
     _brandTypeContext          = brandTypeContext;
     _brandTypeProductNoContext = brandTypeProductNoContext;
     _typeYearContext           = typeYearContext;
     brandDao              = new BrandDao(_brandContext);
     brandTypeDao          = new BrandTypeDao(_brandTypeContext);
     brandTypeProductNoDao = new BrandTypeProductNoDao(_brandTypeProductNoContext);
     typeYearDao           = new TypeYearDao(typeYearContext);
 }
Ejemplo n.º 2
0
 public LoginManage(UserContext userContext, PhoneContext phoneContext, BrandContext brandContext, BrandTypeContext brandTypeContext, BrandTypeProductNoContext brandTypeProductNoContext, TypeYearContext typeYearContext, DeleteReasonContext deleteReasonContext)
 {
     _userContext          = userContext;
     userIQ                = _userContext.Users;
     phoneDao              = new PhoneDao(phoneContext);
     brandDao              = new BrandDao(brandContext);
     brandTypeDao          = new BrandTypeDao(brandTypeContext);
     brandTypeProductNoDao = new BrandTypeProductNoDao(brandTypeProductNoContext);
     typeYearDao           = new TypeYearDao(typeYearContext);
     deleteReasonDao       = new DeleteReasonDao(deleteReasonContext);
 }