public IActionResult Post([FromBody] Review review) { try { db.InsertRecord(REVIEW_TABLE, review); } catch (Exception e) { Failure failure = FailureFact.Default(e, review.UserId); db.InsertRecordAsync(FAILURE_TABLE, failure); return(StatusCode(500, failure)); } Success success = SuccessFact.ReviewCreated(review.ReviewId, review.UserId); db.InsertRecordAsync(SUCCESS_TABLE, success); return(Created($"https://www.ReviewThis.dev/{GuidToBase64.EncodeBase64String(review.ReviewId)}", success)); }