Пример #1
0
        public async Task <ActionResult> Create([Bind(Include = "ID,Firstname,Lastname,Email,Street,PostalCode,City,Active")] Client client)
        {
            if (ModelState.IsValid)
            {
                await clientDA.CreateClient(client);

                return(RedirectToAction("Index"));
            }
            return(View(client));
        }