コード例 #1
0
        public async Task <ActionResult> Delete(string iban, [Bind("JobId,Description,ExecutionDomain")] Job Job)
        {
            try
            {
                // TODO: Add delete logic here

                await _JobsService.DeleteAsync(iban);

                return(RedirectToAction(nameof(Index)));
            }
            catch
            {
                return(View());
            }
        }