public Mammography() { LeftBreast = new Pathology(); RightBreast = new Pathology(); Tumors = new List <Tumor>(); }
//public static Pathology ExtractFromDto(PathologyDto breast) //{ // Pathology p = new Pathology(); // p.Id = breast.Id; // foreach (PathologyDiagnosisDto dto in breast.Diagnoses) // p.Diagnoses.Add(PathologyDiagnosis.ExtractFromDto(dto)); // foreach (PathologyDetailDto dto in breast.Pathologies) // { // p.Pathologies.Add(PathologyDetail.ExtractFromDto(dto)); // } // return p; //} protected bool Equals(Pathology other) { throw new NotImplementedException(); //return !Common.Utils.Helpers.ListsDiffer(Pathologies, other.Pathologies) && !Common.Utils.Helpers.ListsDiffer(Diagnoses, other.Diagnoses); }