public UsuarioController(PostDAO dao, UsuarioDAO usuarioDAO)
        {
            this.dao = dao;
            this.usuarioDAO = usuarioDAO;

            if (!WebSecurity.Initialized)
            {
                WebSecurity.InitializeDatabaseConnection("blog", "Usuario", "Id", "Login", true);
            } 
        }
 public BuscaController(PostDAO postDAO)
 {
     this.postDAO = postDAO;
 }
 public MenuController(UsuarioDAO usuarioDAO, PostDAO postDAO)
 {
     this.usuarioDAO = usuarioDAO;
     this.postDAO = postDAO;
 }
 public HomeController(PostDAO postDAO)
 {
     this.postDAO = postDAO;
 }
 public PostController(PostDAO dao, UsuarioDAO usuarioDAO)
 {
     this.dao = dao;
     this.usuarioDAO = usuarioDAO;
 }