Beispiel #1
0
        public void ViewToModel(UserViewModel UVM)
        {
            var UserData = new User()
            {
                UserId   = UVM.UserId.ToString(),
                UserName = UVM.UserName,
                UserImg  = UVM.UserImg,
            };

            _homeRepository.CreateUser(UserData);
        }