C# Class MvcBiblioteca.Controllers.UsuariosController

Inheritance: Controller
Exibir arquivo Open project: rooseveltdossantos/POSWEB.FURB

Public Methods

Method Description
Alterar ( UsuarioViewModel usuarioId ) : System.Web.Mvc.ActionResult
CPFValido ( long cpf ) : System.Web.Mvc.JsonResult
Excluir ( long usuarioId ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
Novo ( ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
CalculaPrimeiroDigito ( long @base ) : long
CalculaSegundoDigito ( long primeiroDigito, long @base ) : long
CpfCalculado ( long cpf ) : long
Novo ( UsuarioViewModel usuario ) : System.Web.Mvc.ActionResult

Method Details

Alterar() public method

public Alterar ( UsuarioViewModel usuarioId ) : System.Web.Mvc.ActionResult
usuarioId MvcBiblioteca.Models.UsuarioViewModel
return System.Web.Mvc.ActionResult

CPFValido() public method

public CPFValido ( long cpf ) : System.Web.Mvc.JsonResult
cpf long
return System.Web.Mvc.JsonResult

Excluir() public method

public Excluir ( long usuarioId ) : System.Web.Mvc.ActionResult
usuarioId long
return System.Web.Mvc.ActionResult

Index() public method

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

Novo() public method

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