public void DeletePublicDesign(int Id) { using (var db = new LTCDataModel.PetaPoco.Database(DbConfiguration.LtcForm)) { db.Delete("form_public", "FormID", new gPublicFormModel { FormID = Id }); } }
public void DeletePublicTags(int Id) { using (var db = new LTCDataModel.PetaPoco.Database(DbConfiguration.LtcForm)) { db.Delete("form_tag_public", "TagID", new gFormPublicTag { TagID = Id }); } }