public async Task <ActionResult <JsonResponse <string> > > UploadFixtureImage([FromForm] IFormFile file) { string id = ""; try { id = await _fixtureService.UploadFixtureImageAsync(file); } catch (ArgumentException e) { return(new JsonResponse <string> { success = false, msg = e.Message }); } catch (Exception) { return(new JsonResponse <string> { success = false, msg = "Unknown error uploading image" }); } return(new JsonResponse <string> { success = true, data = id }); }