private void BindData() { var searchData = this.txt_Search.Value.Trim(); CustomTypeService service = new CustomTypeService(); var typeList = service.GetCustomTypeList(searchData); this.rp_Item.DataSource = typeList; this.rp_Item.DataBind(); }
public int deleteClientType(int id) { CustomTypeService typeService = new CustomTypeService(); return(typeService.RemoveCustomType(id)); }