public void Delete(Operation entity) { if (AuthorizedUsers["Delete"].SingleOrDefault(x => x == Role) != null) { OperationController.Delete(entity); } }
public void Delete(Operation entity) { if (AuthorizedUsers["Delete"].SingleOrDefault(x => x == Role) != null) { OperationController.Delete(entity); } }