public async Task <IActionResult> UpdateCase(int id, Cases casesForUpdateDto) { var case1 = await _repo.UpdateCase(id, casesForUpdateDto); return(Ok(case1)); }