public virtual bool Init(string currentPosition, double?currentSalaryPerHour, string staffID, string staffStatus, double?workingHours, string description, string occupation) { this.currentPosition = currentPosition; this.currentSalaryPerHour = currentSalaryPerHour; this.staffID = staffID; this.staffStatus = staffStatus; this.workingHours = workingHours; this.Occupation = occupation; this.Description = description; accountInfo = new StaffAccount(); return(true); }
public bool SetAccountInfo(StaffAccount account) { accountInfo = account; return(true); }