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); }
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); }