public async Task <IActionResult> GetImageFile(Guid id) { if (id == Guid.Empty) { return(BadRequest()); } try { var image = await _imagesService.FetchFullImageById(id); return(File(image, "image/jpeg")); } catch (ArgumentException) { return(NotFound()); } }