public ActionResult Login(FormCollection form) { BLL.UserBLL user = new BLL.UserBLL(); bool isSuccess; isSuccess = user.login(form["username"], form["password"]); string message; if (isSuccess == true) { } ViewData["isSuccess"] = isSuccess; return View(); }