public async Task <IActionResult> MechanicDetails(int id) { var mechanic = await _mechanicRepository.GetMechanicWithSpecialtyById(id); var model = _converterHelper.ToPersonEditViewModel(mechanic); return(PartialView("_MechanicDetailsPartial", model)); }