public AgesTypeResponse GetAgesType() { var response = new AgesTypeResponse(); var s = new AgeTypeService(GetConnectionString(), TraceFile, WriteToLogFile); var r = s.GetAgeType(); response.IsError = r.IsError; response.ErrorDesc = r.ErrorDesc; response.AgesTypes = r.Return; return(response); }
public void AgeTypeServiceTest() { var s = new AgeTypeService(GetConnectionString(), null, null); var r = s.GetAgeType(); }