public static DalInterface.Models.PhoneCall MapDataAccessPhoneCallToDalInterfacePhoneCall(PhoneCall daPhoneCall) { DalInterface.Models.PhoneCall iPhoneCall = new DalInterface.Models.PhoneCall(); iPhoneCall.Id = daPhoneCall.Id; iPhoneCall.SSN = daPhoneCall.SSN; iPhoneCall.MarkedToDelete = daPhoneCall.MarkedToDelete.ToString(); return iPhoneCall; }
public static PhoneCall MapDalInterfacePhoneCallToDataAccessPhoneCall(DalInterface.Models.PhoneCall iPhoneCall) { PhoneCall daPhoneCall = new PhoneCall(); daPhoneCall.Id = iPhoneCall.Id; daPhoneCall.SSN = iPhoneCall.SSN; daPhoneCall.MarkedToDelete = bool.Parse(iPhoneCall.MarkedToDelete); return daPhoneCall; }