Ejemplo n.º 1
0
        public FileContentResult GetServiceEventImage(int id)
        {
            ServiceEvent service = _unitOfWork.GetServiceEventById(id);

            if (service == null)
            {
                return(null);
            }
            return(File(service.Image, service.ContentType));
        }