예제 #1
0
        public async Task <ActionResult> Create(Guid id)
        {
            try
            {
                await _job.CreateJobCard(id);

                var jobCard = await _job.GetJobCardTasks(id);

                return(View(jobCard));
            }
            catch (Exception)
            {
                throw;
            }
        }
예제 #2
0
 public async Task <ActionResult> Index()
 {
     return(View(await _job.GetJobCardTasks()));
 }