public async Task <ActionResult> Index(RegisterModel model)
        {
            var data = new RegistrationModel();

            data.IDNP         = model.IDNP;
            data.Name         = model.Name;
            data.Surname      = model.Surname;
            data.Gender       = model.Gender;
            data.Region       = model.Region;
            data.Email        = model.Email;
            data.Birth_date   = DateTime.Parse(model.Birth_date);
            data.RegisterDate = DateTime.Now;
            data.Ip_address   = Request.HttpContext.Connection.RemoteIpAddress.ToString();;
            data.Phone_Number = model.Phone_Number;

            var response = await connection.Registration(data);

            if (response.Status == true)
            {
                return(RedirectToAction("Login", "User"));
            }
            else
            {
                return(View());
            }
        }