Ejemplo n.º 1
0
        public IActionResult UpdateDisclosure()
        {
            var disclosure = _repository.GetUserCurrentDisclosure(User.Identity.Name);
            var vm         = Mapper.Map <DisclosureViewModel>(disclosure);

            vm.SignatureDate    = DateTime.Now;
            vm.SignatureText    = "";
            vm.SignatureConfirm = false;
            return(View(vm));
        }