public ActionResult Index()
        {
            var user = _domain.GetUser(0);

            ViewBag.UserName = user.Name;

            return(View());
        }
Пример #2
0
 public async Task <JsonResponse> GetUser(string id)
 {
     return(await _userDomain.GetUser(id));
 }