private OwnershipType CheckOwnership(string courseId) // need to check for user id { try { Account _user = AccountStorage.GetAccount("0"); //temporarily 0 return(_user.CheckOwnership(courseId)); } catch (IndexOutOfRangeException) { return(OwnershipType.None); } }