コード例 #1
0
        public JsonResult GetImageById(int id)
        {
            ImageStorageDTO       imageStorageDTO       = mapper.Map <ImageStorageDTO>(imageStorageService.GetImageById(id));
            ImageStorageViewModel imageStorageViewModel = mapper.Map <ImageStorageViewModel>(imageStorageDTO);

            return(Json(imageStorageViewModel));
        }