public DataTable GetStoreManagerSearch(StoreManagerSearchModel model)
 {
     Hashtable HT = new Hashtable();
     HT.Add("StoreManagerID", model.StoreManagerID);
     HT.Add("SType", model.SType);
     HT.Add("SValue", model.SValue);
     DataTable dt = dbContext.spGetDatatable("udp_StoreManager_sel", HT);
     return dt;
 }
 //get customer by id
 public DataTable Get(int id)
 {
     StoreManagerSearchModel md = new StoreManagerSearchModel();
     md.StoreManagerID = id;
     md.SType = "StoreManagerID";
     md.SValue = "All";
     DataTable dirver = db.GetStoreManagerSearch(md);
     if (dirver == null)
     {
         throw new HttpResponseException(Request.CreateResponse(HttpStatusCode.NotFound));
     }
     return dirver;
 }