优化数据仓储

This commit is contained in:
不做码农
2022-03-19 08:04:08 +08:00
parent 3e6d2fdce1
commit 1c3cdb99e0
29 changed files with 86 additions and 699 deletions

View File

@@ -59,7 +59,7 @@ namespace ZR.Service.System
return string.Join(',', list.Select(x => x.PostName));
}
public int Delete(long userId)
public bool Delete(long userId)
{
return UserPostRepository.Delete(x => x.UserId == userId);
}