public async Task <ActionResult <JsonResponse <object> > > CreateFixture(Fixture fixture) { try { await _fixtureService.CreateFixtureAsync(fixture); } catch (KeyNotFoundException e) { return(new JsonResponse <object> { success = false, msg = e.Message }); } catch (Exception) { return(new JsonResponse <object> { success = false, msg = "Unknown error creating fixture" }); } return(new JsonResponse <object> { success = true }); }