Exemplo n.º 1
0
        public async Task <IActionResult> Edit(ProjectModel model)
        {
            var status = await _projectFactory.PutObject($"api/project/edit", model);

            if (!status)
            {
                ViewData["Message"] = "Something wrong";
                return(View());
            }

            ViewData["MessageSuccess"] = "Developer edited";
            return(View());
        }