Ejemplo n.º 1
0
        public async Task <ActionResult> Create(CreateRoomVm model)
        {
            try
            {
                // TODO: Add insert logic here
                await _roomAppService.CreateRoomAsync(model);

                return(RedirectToAction(nameof(Index)));
            }
            catch
            {
                return(View());
            }
        }