public Person(string name, string lastName, string phoneNumber, string email, AccreditationEnum accreditation, SexEnum sex) { Name = name; LastName = lastName; PhoneNumber = phoneNumber; Email = email; Accreditation = accreditation; Sex = sex; }
private static void AddClient(ClientDto client, string accreditation, AccreditationEnum accreditationType, string address, string email, string name, string lastName, string phone, DateTime subscriptionDate, StateClientEnum state, bool isVip) { client.Accreditation = accreditation; client.AccreditationType = accreditationType; client.Address = address; client.Email = email; client.Name = name; client.LastName = lastName; client.PhoneContact = "34" + phone; client.SubscriptionDate = subscriptionDate; client.State = state; client.IsVip = isVip; }
private static Person CreatePersona(string name, string lastName, string phoneNumber, string email, AccreditationEnum accreditation, SexEnum sex) { return(new Person(name, lastName, phoneNumber, email, accreditation, sex)); }