public List <MemberShipCardMaterial> GetMCMateralListByComId(int comid, out int totalcount) { using (var helper = new SqlHelper()) { List <MemberShipCardMaterial> list = new InternalMemberShipCardMaterial(helper).GetMCMateralListByComId(comid, out totalcount); return(list); } }
public int SortMaterial(string materialid, int sortid) { using (var helper = new SqlHelper()) { var id = new InternalMemberShipCardMaterial(helper).SortMaterial(materialid, sortid); return(id); } }
public int DelMemberShipCardMaterial(int materialid) { using (var helper = new SqlHelper()) { var id = new InternalMemberShipCardMaterial(helper).DelMemberShipCardMaterial(materialid); return(id); } }
public int EditMaterial(MemberShipCardMaterial material) { using (var helper = new SqlHelper()) { var id = new InternalMemberShipCardMaterial(helper).EditMaterial(material); return(id); } }
public MemberShipCardMaterial GetMembershipcardMaterial(int comid, int materialid) { using (var helper = new SqlHelper()) { MemberShipCardMaterial material = new InternalMemberShipCardMaterial(helper).GetMembershipcardMaterial(comid, materialid); return(material); } }
public List <MemberShipCardMaterial> AllMembershipcardpagelist(int comid, int pageindex, int pagesize, out int totalcount) { using (var helper = new SqlHelper()) { var list = new InternalMemberShipCardMaterial(helper).AllMembershipcardpagelist(comid, pageindex, pagesize, out totalcount); return(list); } }