List <Models.GenderDAO> IService1.GetGenders() { var g = new List <Models.GenderDAO>(); foreach (var gender in data.GetGenders()) { g.Add(GenderMapper.MapToGenderDAO(gender)); } return(g); }
public List <GenderDAO> GetGenders() { var g = new List <GenderDAO>(); foreach (var gender in data.GetGenders()) { g.Add(GenderMapper.MapToGenderDAO(gender)); } return(g); }