コード例 #1
0
 public ActionResult Delete(int projectId)
 {
     projectManagement.DeleteProject(projectId);
     return(RedirectToAction("List"));
 }
コード例 #2
0
        public IActionResult DeleteProject(int Id)
        {
            var result = pm.DeleteProject(Id);

            return(Ok(result));
        }