public Repair ChangeDetails(Repair r, string newdetail) { r.IssueDetails = newdetail; return(r); }
public Repair ReopenRepair(Repair r) { r.Status = "Reopened"; r.ActiveFlag = true; return(r); }
public Repair AssignToOther(Repair r, Worker w) { r.Worker_ID = w.WorkerID; return(r); }
public Repair CloseRepair(Repair r) { r.Status = "Closed"; r.ActiveFlag = false; return(r); }
public Repair AssignToSelf(Repair r) { r.Worker_ID = WorkerID; return(r); }