常用方法
常用方法
常用方法
常用方法
internal IEnumerable <VaultKeepModel> GetKeepByVaultId(int id, string userId) { Keep foundKeep = GetById(id); if (foundKeep.UserId != userId) { throw new Exception("not your Keep"); } return(_repo.GetKeepByVaultId(id, userId)); }