Ejemplo n.º 1
0
 public string CategoryWiseZipcodes(int categoryId)
 {
     try
     {
         BllMyAccount ObjMyAccount = new BllMyAccount();
         string       res          = ObjMyAccount.CategoryWiseZipcode(Convert.ToInt16(Session["associate"]).ToString(), categoryId);
         return(res);
     }
     catch
     {
         return("");
     }
 }
Ejemplo n.º 2
0
 public string MyZipcodes()
 {
     try
     {
         BllMyAccount ObjMyAccount = new BllMyAccount();
         string       res          = ObjMyAccount.SelectZipcode(Convert.ToInt16(Session["associate"]).ToString());
         return(res);
     }
     catch
     {
         return("");
     }
 }
Ejemplo n.º 3
0
 public string DeletePurchasedCategories(int id)
 {
     try
     {
         BllMyAccount ObjMyAccount = new BllMyAccount();
         string       res          = ObjMyAccount.DeleteCategory(Convert.ToInt16(Session["associate"]).ToString(), id);
         return(res);
     }
     catch
     {
         return("");
     }
 }
Ejemplo n.º 4
0
 public string AllPurchasedCategories()
 {
     try
     {
         BllMyAccount ObjMyAccount = new BllMyAccount();
         string       res          = ObjMyAccount.SelectPurchasedCategory(Convert.ToInt16(Session["associate"]).ToString());
         return(res);
     }
     catch
     {
         return("");
     }
 }
Ejemplo n.º 5
0
        public string UpdateMyAccount(int ID, int activeV)
        {
            string str = string.Empty;

            if (Session["associate"].ToString() != "" || Session["associate"].ToString() != null)
            {
                BllMyAccount ObjLeadStatus = new BllMyAccount();
                str = ObjLeadStatus.RecordUpdate(ID, Session["associate"].ToString(), activeV);
                return(str);
            }
            else
            {
                return("Error in Authentication");
            }
        }