public ActionResult GetUserByUserName(Sp_GetUser_Result model)
        {
            List <Sp_GetUser_Result> user = new List <Sp_GetUser_Result>();

            user = _db.Getuser();
            if (user == null)
            {
                model.LoginErrorMessage = "Wrong username or Password.";
                return(View("index", model));
            }
            else
            {
                return(View("GetDetail"));
            }
        }
Example #2
0
 public void Insert(Sp_GetUser_Result model)
 {
 }
 public ActionResult GetDetail(Sp_GetUser_Result model)
 {
     return(View());
 }
        public ActionResult InsertUser(Sp_GetUser_Result model)
        {
            _db.Insert(model);

            return(View("Index"));
        }