C# Class Microsoft.Research.DataOnboarding.WebApplication.Controllers.QualityCheckController

Controller class for quality check related methods.
Inheritance: Microsoft.Research.DataOnboarding.WebApplication.Helpers.BaseController
显示文件 Open project: CDLUC3/dataup2

Public Methods

Method Description
AddEditRule ( int qcRuleId ) : System.Web.Mvc.ActionResult

Action method to get the add edit quality check rule view.

Index ( ) : System.Web.Mvc.ActionResult

Action method to return the index view.

SaveRule ( QCRuleViewModel ruleModel ) : System.Web.Mvc.JsonResult

Action method to save the rule data to the database

Private Methods

Method Description
GetQCRuleViewModel ( int id ) : QCRuleViewModel

Helper method to get the single rule view model.

GetQualityCheckViewModel ( ) : QualityCheckViewModel

Method to get the quality check view model.

Method Details

AddEditRule() public method

Action method to get the add edit quality check rule view.
public AddEditRule ( int qcRuleId ) : System.Web.Mvc.ActionResult
qcRuleId int Quality check rule id.
return System.Web.Mvc.ActionResult

Index() public method

Action method to return the index view.
public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

SaveRule() public method

Action method to save the rule data to the database
public SaveRule ( QCRuleViewModel ruleModel ) : System.Web.Mvc.JsonResult
ruleModel Microsoft.Research.DataOnboarding.WebApplication.ViewModels.QCRuleViewModel Rule view Model
return System.Web.Mvc.JsonResult