コード例 #1
0
        public IHttpActionResult Delete(Guid GroupK)
        {
            permissionService.Delete(GroupK);
            permissionService.SaveChanges();

            return(Ok());
        }
コード例 #2
0
 public ActionResult DeleteConfirmed(Guid id)
 {
     permissionTypeService.Delete(id);
     return(RedirectToAction("Index"));
 }
コード例 #3
0
 public ActionResult PermissionTypeDelete(PermissionType permissionType)
 {
     _permissionTypeService.Delete(permissionType);
     return(RedirectToAction("PermissionTypeGetAll"));
 }