public async Task <ActionResult <HealthViewResource> > PostAsync([FromServices] IPost post, [FromBody] HealthViewResource health) { log.LogInformation($"adding {health.Name} to the database"); return(await TryTask <HealthViewResource> .Run(async() => { await post.AddHealthResource(health); return Ok(health); })); }