public bool RemoveBusinessType() { string ids = Request["ids"].ToString(); BusinessTypeContext btc = new BusinessTypeContext(); return(btc.RemoveBusinessType(ids)); }
public string GetBusinessTypes() { BusinessTypeContext btc = new BusinessTypeContext(); DataTable bts = btc.GetBusinessTypes(); return(JsonHelper.DataTableToJSON(bts)); }
public bool AddBusinessType() { string name = Request["name"].ToString(); BusinessTypeContext btc = new BusinessTypeContext(); return(btc.AddBusinessType(name)); }
public string GetBusinessType() { BusinessTypeContext bc = new BusinessTypeContext(); DataTable dt = bc.GetBusinessTypes(); return(JsonHelper.DataTableToJSON(dt)); }