Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
        public int deleteClientType(int id)
        {
            CustomTypeService typeService = new CustomTypeService();

            return(typeService.RemoveCustomType(id));
        }