public async Task <IActionResult> GetWithStudentsByIdAsync(int id) { var sinif = await _sinifService.GetWithStudentsByIdAsync(id); return(Ok(_mapper.Map <SinifWithOgrenciDto>(sinif))); }