private Evidence DbEvidenceToEvidence(EvidenceDb item) { Evidence e = new Evidence(); e.ChallengeID = item.ChallengeID; e.CustomerID = item.CustomerID; e.MediaURL = item.MediaURL; e.Type = item.Type; e.UniqueID = item.UniqueID; e.Content = item.Content; return e; }
private EvidenceDb EvidenceToDbEvidence(Evidence item) { EvidenceDb d = new EvidenceDb(); d.CustomerID = item.CustomerID; d.Content = item.Content; d.MediaURL = item.MediaURL; d.UniqueID = item.UniqueID; d.Type = item.Type; d.ChallengeID = item.ChallengeID; return d; }