.vs
Fab2ApprovalSystem
Fab2ApprovalSystem-Copy
App_Start
Content
Controllers
AccountController.cs
AdminController.cs
AuditController.cs
ChangeControlController.cs
CorrectiveActionController.cs
ECNController.cs
HomeController.cs
LotDispositionController.cs
LotTravelerController.cs
MRBController.cs
PartsRequestController.cs
ReportsController.cs
TrainingController.cs
WorkflowController.cs
DMO
EmailTemplates
FTPBatch
Lib
Misc
Models
PdfGenerator
Properties
Scripts
Utilities
ViewModels
Views
fonts
Fab2ApprovalSystem.csproj
Fab2ApprovalSystem.csproj.user
Fab2ApprovalSystem.csproj.vspscc
Global.asax
Global.asax.cs
Project_Readme.html
Startup.cs
Test.html
Web.Debug.config
Web.Release.config
Web.config
favicon.ico
packages.config
Fab2ApprovalSystem-TF
Kendo
SQL
packages
references
.editorconfig
Fab2ApprovalSystem.sln
README.md
100 lines
2.0 KiB
C#
100 lines
2.0 KiB
C#
using Fab2ApprovalSystem.DMO;
|
|
using Fab2ApprovalSystem.Models;
|
|
using Kendo.Mvc.UI;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.Mvc;
|
|
using Kendo.Mvc.Extensions;
|
|
|
|
|
|
|
|
namespace Fab2ApprovalSystem.Controllers
|
|
{
|
|
public class WorkflowController : Controller
|
|
{
|
|
//
|
|
|
|
//
|
|
// GET: /Workflow/Details/5
|
|
public ActionResult Details(int id)
|
|
{
|
|
return View();
|
|
}
|
|
|
|
//
|
|
// GET: /Workflow/Create
|
|
public ActionResult Create()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
//
|
|
// POST: /Workflow/Create
|
|
[HttpPost]
|
|
public ActionResult Create(FormCollection collection)
|
|
{
|
|
try
|
|
{
|
|
// TODO: Add insert logic here
|
|
|
|
return RedirectToAction("Index");
|
|
}
|
|
catch
|
|
{
|
|
return View();
|
|
}
|
|
}
|
|
|
|
//
|
|
// GET: /Workflow/Edit/5
|
|
public ActionResult Edit(int id)
|
|
{
|
|
return View();
|
|
}
|
|
|
|
//
|
|
// POST: /Workflow/Edit/5
|
|
[HttpPost]
|
|
public ActionResult Edit(int id, FormCollection collection)
|
|
{
|
|
try
|
|
{
|
|
// TODO: Add update logic here
|
|
|
|
return RedirectToAction("Index");
|
|
}
|
|
catch
|
|
{
|
|
return View();
|
|
}
|
|
}
|
|
|
|
//
|
|
// GET: /Workflow/Delete/5
|
|
public ActionResult Delete(int id)
|
|
{
|
|
return View();
|
|
}
|
|
|
|
//
|
|
// POST: /Workflow/Delete/5
|
|
[HttpPost]
|
|
public ActionResult Delete(int id, FormCollection collection)
|
|
{
|
|
try
|
|
{
|
|
// TODO: Add delete logic here
|
|
|
|
return RedirectToAction("Index");
|
|
}
|
|
catch
|
|
{
|
|
return View();
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|