Пример #1
0
        public string[] GetObjectData(Applicant obj)
        {
            var result = new string[4];

            result[0] = _serializer.SerializeName(
                new Tuple <string, string, string>(obj.LastName, obj.FirstName, obj.MiddleName));

            result[1] = _serializer.SerializeDate(obj.BirthDate);
            result[2] = obj.Email;
            result[3] = obj.Phone;

            return(result);
        }