// Get products that are most frequently viewed
 public List<Product> GetProductByMostFrequentlyViewed()
 {
     if (dlUserInterfaceProcess == null)
     {
         dlUserInterfaceProcess = new DLUserInterfaceProcess();
     }
     return dlUserInterfaceProcess.GetProductByMostFrequentlyViewed();
 }
 // Log in
 public Careerer Login(string sEmail, string sPassword)
 {
     if (dlUserInterfaceProcess == null)
     {
         dlUserInterfaceProcess = new DLUserInterfaceProcess();
     }
     return dlUserInterfaceProcess.Login(sEmail, sPassword);
 }
 //Get products with certain category
 public List<Product> GetProductByCategory(int iCategoryID)
 {
     if (dlUserInterfaceProcess == null)
     {
         dlUserInterfaceProcess = new DLUserInterfaceProcess();
     }
     return dlUserInterfaceProcess.GetProductByCategory(iCategoryID);
 }
 public List<Product> GetProductByAddedDate()
 {
     if (dlUserInterfaceProcess == null)
     {
         dlUserInterfaceProcess = new DLUserInterfaceProcess();
     }
     return dlUserInterfaceProcess.GetProductByAddedDate();
 }
 public Product GetDetailProduct(int iProductID)
 {
     if (dlUserInterfaceProcess == null)
     {
         dlUserInterfaceProcess = new DLUserInterfaceProcess();
     }
     return dlUserInterfaceProcess.GetDetailProduct(iProductID);
 }
 public List<Category> GetAllCategory()
 {
     if (dlUserInterfaceProcess == null)
     {
         dlUserInterfaceProcess = new DLUserInterfaceProcess();
     }
     return dlUserInterfaceProcess.GetCategory();
 }
 // Get FeedBack from guest
 public bool AddFeedBack(GuestFeedBack obj)
 {
     if (dlUserInterfaceProcess == null)
     {
         dlUserInterfaceProcess = new DLUserInterfaceProcess();
     }
     return dlUserInterfaceProcess.AddFeedBack(obj);
 }
 public void UpdateViewedProduct(int iProductID, int newViewedNumberProuduct)
 {
     if (dlUserInterfaceProcess == null)
     {
         dlUserInterfaceProcess = new DLUserInterfaceProcess();
     }
     dlUserInterfaceProcess.UpdateViewedProduct(iProductID, newViewedNumberProuduct);
 }
 // Sign up
 public bool SignUp(string sEmail, string sPassword, string sUserName)
 {
     if (dlUserInterfaceProcess == null)
     {
         dlUserInterfaceProcess = new DLUserInterfaceProcess();
     }
     return dlUserInterfaceProcess.SignUp(sEmail, sPassword, sUserName);
 }