예제 #1
0
        public HttpResponseMessage Get(int id)
        {
            List <MapViewModel> mapList = mapRepository.GetMapList(id).Select(x => { Map m = x; m.Image = null; return(ModelConverter.ToMapViewModel(m)); }).ToList();

            return(Request.CreateResponse(HttpStatusCode.OK, mapList));
        }