public IEnumerable <Operation> GetAll() { if (AuthorizedUsers["GetAll"].SingleOrDefault(x => x == Role) != null) { return(OperationController.GetAll()); } else { return(null); } }