public void MarkDeleted(long id) { using (ZSZDbContext ctx = new ZSZDbContext()) { BaseService <HouseEntity> bs = new BaseService <HouseEntity>(ctx); bs.MarkDeleted(id); } }
public void MarkDeleted(long roleId) { using (ZSZDbContext ctx = new ZSZDbContext()) { BaseService <RoleEntity> bs = new BaseService <RoleEntity>(ctx); bs.MarkDeleted(roleId); } }
public void MarkDeleted(long id) { using (var ctx = new ZSZDbContext()) { var bs = new BaseService <PermissionEntity>(ctx); bs.MarkDeleted(id); } }
public bool DeleteAdmin(long id) { using (ZSZContext context = new ZSZContext()) { BaseService <AdminUserEntity> adbs = new BaseService <AdminUserEntity>(context); return(adbs.MarkDeleted(id)); } }
public void MarkDeleted(long adminUserId) { using (ZSZDbContext ctx = new ZSZDbContext()) { BaseService <AdminUserEntity> bs = new BaseService <AdminUserEntity>(ctx); bs.MarkDeleted(adminUserId); } }
public void MarkDeleted(long id) { using (ZSZDbContext ctx = new ZSZDbContext()) { BaseService <PermissionEntity> service = new BaseService <PermissionEntity>(ctx); service.MarkDeleted(id); } }
public bool DeleRole(long id) { using (ZSZContext context = new ZSZContext()) { BaseService <RoleEntity> roleService = new BaseService <RoleEntity>(context); return(roleService.MarkDeleted(id)); } }