Пример #1
0
        public ActionResult Display(string EmailId)
        {
            UserBusinessLayer businessLayer = new UserBusinessLayer();
            //List<Users> users = businessLayer.users.ToList();
            DataTable data    = UserBusinessLayer.getUserWithEmailId("df");
            Users     dataout = new Users();

            dataout.EmailId         = data.Rows[0]["EmailId"].ToString();
            dataout.slNo            = (int)data.Rows[0]["slNo"];
            dataout.UserName        = data.Rows[0]["UserName"].ToString();
            dataout.Password        = data.Rows[0]["Password"].ToString();
            dataout.ConfirmPassword = data.Rows[0]["ConfirmPassword"].ToString();
            //Employee employee = eusmployeeContext.Employees.Single(x => x.EmployeeId == id);
            return(PartialView(dataout));
        }