C# Class Brato.UserInterface.Controllers.BratController

Inheritance: Controller
显示文件 Open project: otavioscool/BRATO

Public Methods

Method Description
BratController ( ) : System
BuscarBrat ( string Cpf, string NumeroBrat ) : System.Web.Mvc.JsonResult
CancelarBrat ( int idBrat ) : System.Web.Mvc.JsonResult
FinalizarBrat ( int idBrat ) : System.Web.Mvc.JsonResult
IncBrat ( ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
SalvarDadosBrat ( BratEntity entity ) : System.Web.Mvc.JsonResult
VisualizarBrat ( int numero ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
Validar ( BratEntity entity ) : IList

Method Details

BratController() public method

public BratController ( ) : System
return System

BuscarBrat() public method

public BuscarBrat ( string Cpf, string NumeroBrat ) : System.Web.Mvc.JsonResult
Cpf string
NumeroBrat string
return System.Web.Mvc.JsonResult

CancelarBrat() public method

public CancelarBrat ( int idBrat ) : System.Web.Mvc.JsonResult
idBrat int
return System.Web.Mvc.JsonResult

FinalizarBrat() public method

public FinalizarBrat ( int idBrat ) : System.Web.Mvc.JsonResult
idBrat int
return System.Web.Mvc.JsonResult

IncBrat() public method

public IncBrat ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Index() public method

public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

SalvarDadosBrat() public method

public SalvarDadosBrat ( BratEntity entity ) : System.Web.Mvc.JsonResult
entity Brato.Entities.BratEntity
return System.Web.Mvc.JsonResult

VisualizarBrat() public method

public VisualizarBrat ( int numero ) : System.Web.Mvc.ActionResult
numero int
return System.Web.Mvc.ActionResult