public async Task ReportServiceStatusToCus() { CustomerServicePlanBusiness plan = new CustomerServicePlanBusiness(); //Gọi hàm gửi thông báo gói cước sắp hết hạn plan.ReportServiceStatusToCus(); //Gọi hàm cập nhật trạng thái gói cước khi đã hết hạn plan.UpdateServiceOfCus(); }
public BaseController() : base() { loginBusiness = new LoginBusiness(this.GetContext()); userBusiness = new UserBusiness(this.GetContext()); categoryBusiness = new CategoryBusiness(this.GetContext()); servicePlanBusiness = new ServicePlanBusiness(this.GetContext()); newsBusiness = new NewsBusiness(this.GetContext()); customerBusiness = new CustomerBusiness(this.GetContext()); orderBusiness = new OrderBusiness(this.GetContext()); customerServicePlan = new CustomerServicePlanBusiness(this.GetContext()); }