Exemple #1
0
        public int EditUser(MultipartFormDataStreamProvider formParams)
        {
            ApplicationUser appUser = new ApplicationUser()
            {
                Id            = formParams.FormData["Id"],
                Name          = formParams.FormData["Name"],
                Email         = formParams.FormData["Email"],
                BirthDate     = DateTime.Parse(formParams.FormData["BirthDate"]),
                WalletAddress = formParams.FormData["WalletAddress"],
                State         = formParams.FormData["State"],
                Country       = formParams.FormData["Country"]
            };

            return(Ar.EditUser(appUser));
        }