public async Task <IActionResult> Edit(int id)
        {
            var environment = await _domainContext.Environments.Get(id);

            var model = new EnvironmentModelAssembler().ToModel(environment);

            return(View("Edit", model));
        }
        public async Task <IActionResult> Index()
        {
            List <Environment> environments = await _domainContext.Environments.GetAll();

            var model = new EnvironmentModelAssembler().ToModel(environments);

            return(View(model));
        }
        public IActionResult Create()
        {
            var model = new EnvironmentModelAssembler().ToModel(new Environment());

            return(View("Edit", model));
        }