コード例 #1
0
        private ActionResult CreateShoppingList(string slName, string slDescription)
        {
            AgenteShoppingList agente   = new AgenteShoppingList();
            string             userName = null;

            if (Request.IsAuthenticated)
            {
                userName = User.Identity.Name;
            }
            string id = agente.CrearShoppingList(slName, slDescription, userName);

            return(RedirectToAction("ImportFits", new { id = id }));
        }