Esempio n. 1
0
        public ActionResult Create()
        {
            var atomiaAccountApiClient = AtomiaServiceChannelManager.GetAccountService();
            var account = atomiaAccountApiClient.GetAccountByName(RouteData.Values["accountId"].ToString());

            ExampleHelper.Create(RouteData, account.FirstName, account.LastName);

            return(RedirectToAction("Index", new { area = "Example", controller = "Example" }));
        }