public GetMethodsResponse GetMethods(GetMethodsRequest requests) { var methods = DataContext.Methods.ToList(); var response = new GetMethodsResponse(); response.Methods = methods.MapTo<GetMethodsResponse.Method>(); return response; }