public async Task <IActionResult> AddNewAsync([FromBody] CastMemberDataModel dataModel) { var result = await repository.CreateAsync(dataModel); return(result.Ok ? (IActionResult)Ok(result) : BadRequest(result.Message)); }