public async Task <Employee> GetById(int id) { var entity = await helperApi.Get <Employee>($"{UrlServiceEmployee}/", id); return(entity); }
// GET: JobEntityController/Details/5 public async Task <ActionResult> Details(int id) { var entity = await helperApi.Get <JobEntity>($"{UrlJobEntity}/", id); return(View(entity)); }