public async Task <ActionResult> Create(Guid id) { try { await _job.CreateJobCard(id); var jobCard = await _job.GetJobCardTasks(id); return(View(jobCard)); } catch (Exception) { throw; } }
public async Task <ActionResult> Index() { return(View(await _job.GetJobCardTasks())); }