Пример #1
0
        public JsonResult GetFile(int ID)
        {
            var imagen = Mapper.Map <ImagenModel>(pacienteService.GetFile(ID));

            Response.StatusCode = (int)HttpStatusCode.OK;
            return(Json(imagen, JsonRequestBehavior.AllowGet));
        }