public bool AddCase() { Console.WriteLine(" 聚合根 案件内AddCase"); //添加案件 return(_caseRepository.AddCase(new CaseModel { Company = System.Text.Json.JsonSerializer.Serialize(Company), CreateTime = CreateTime, ID = ID, UserID = UserID })); }