Пример #1
0
        public async Task <IActionResult> Create()
        {
            UserEntity user = await _userHelper.GetUserAsync(this.User.Identity.Name);


            PaymentViewModel model = new PaymentViewModel
            {
                Date  = DateTime.Today,
                Banks = _combosHelper.GetComboBanks(),
                User  = user,
            };

            return(View(model));
        }