public async Task <IActionResult> DeleteById(int id) { await _photographerRepository.DelteById(id); return(RedirectToAction(nameof(Index))); }