public ActionResult <Workout> Post([FromBody] Workout value) { try { SetCreatedAuditFields(value); return(Ok(_workoutService.Add(value, true))); } catch (Exception ex) { return(StatusCode(500, ex.Message)); } }