I have the following method in service layer:
public override Phones GetPhonesByGuid(Guid Id)
{
return new Phones(PhoneTranslator.ToValueObject(_phoneRepository.GetPhone(Id)));
}
I am getting the following error:
Argument '1': cannot convert from 'Common.DataContracts.PhoneVO' to 'System.Collections.Generic.IEnumerable<Common.DataContracts.PhoneVO>'
Could you please help me?