public async Task <IActionResult> Post([FromBody] TitleDto title) { if (title.Id != 0) { return(StatusCode(StatusCodes.Status400BadRequest, "Identity insert is not permitted.")); } return(await SaveAndReturnEntityAsync(async() => await _titleService.SaveAndReturnEntityAsync(title))); }