public async Task <IActionResult> PostOther([FromBody] OtherDto otherDto) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } var result = await _otherService.AddAsync(otherDto); return(CreatedAtRoute(new { controller = "others", }, result)); }