C# Class MvcBiblioteca.Controllers.EmprestimosController

Inheritance: Controller
Datei anzeigen Open project: rooseveltdossantos/POSWEB.FURB

Public Methods

Method Description
Emprestar ( int livroId, int usuarioId ) : System.Web.Mvc.ActionResult
Novo ( ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
GetPrazo ( TipoUsuario tipo ) : System.DateTime
GetPrazoEmDias ( TipoUsuario tipo ) : System.DateTime
Index ( ) : System.Web.Mvc.ActionResult
ObterEmprestimoDoLivro ( int livroId ) : Emprestimo
ObterEmprestimosDoUsuario ( int usuarioId ) : IEnumerable
PodeEmprestar ( Usuario usuario, int quantidadeEmprestada ) : bool

Method Details

Emprestar() public method

public Emprestar ( int livroId, int usuarioId ) : System.Web.Mvc.ActionResult
livroId int
usuarioId int
return System.Web.Mvc.ActionResult

Novo() public method

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