public IHttpActionResult Delete(Guid GroupK) { permissionService.Delete(GroupK); permissionService.SaveChanges(); return(Ok()); }
public ActionResult DeleteConfirmed(Guid id) { permissionTypeService.Delete(id); return(RedirectToAction("Index")); }
public ActionResult PermissionTypeDelete(PermissionType permissionType) { _permissionTypeService.Delete(permissionType); return(RedirectToAction("PermissionTypeGetAll")); }