public void LoadMaritalStatuses(IFamilyResearch familyResearchRepository) { MaritalStatusList = familyResearchRepository.GetMaritalStatuses().ToList(); MaritalStatusList.Insert(0, new MaritalStatus() { Id = 0, Name = "Selecciona estado civil" }); }
public void LoadMaritalStatuses(IRegistrationRequest registrationRequestRepository) { MaritalStatusList = registrationRequestRepository.GetMaritalStatuses().ToList(); MaritalStatusList.Insert(0, new MaritalStatus() { Id = 0, Name = "Selecciona estado civil" }); }