Пример #1
0
        public async Task <IActionResult> CreateS([Bind("IdStudent,FullName,IdNumber,Email,Pass,Password1")] Student student)
        {
            String _url = _config.GetValue <string>("AppSettings:WebSite").ToString();

            if (ModelState.IsValid)
            {
                _context.Add(student);
                await _context.SaveChangesAsync();

                Response.Redirect("Default");
            }
            return(View(student));
        }