Esempio n. 1
0
        public async Task <IActionResult> OrdersPending(string userid, string market, int offset = 0, int limit = 10)
        {
            var user = await GetUser(required : true);

            var userInspect = _userManager.FindByIdAsync(userid).Result;

            ViewData["userid"] = userid;
            return(View(OrdersPendingViewModel.Construct(user, userInspect, market, _settings, offset, limit)));
        }
Esempio n. 2
0
        public async Task <IActionResult> OrdersPending(string market, int offset = 0, int limit = 10)
        {
            var user = await GetUser(required : true);

            return(View(OrdersPendingViewModel.Construct(user, user, market, _settings, offset, limit)));
        }