public Stream GetImage(int id) { return(service.GetCategoryImageJpg(id)); }
public IActionResult GetImage(int id) { Stream resultStream = service.GetCategoryImageJpg(id); return(new FileStreamResult(resultStream, "image/jpeg")); }
public Stream GetImage(int id) { return(service.GetCategoryImageJpg(id)); }
public IActionResult GetImage(int id) { Stream resultStream = service.GetCategoryImageJpg(id); return(new FileStreamResult(resultStream, "image/jpeg")); }