예제 #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)));
        }
예제 #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)));
        }