public Freelancer(double salary, string name, string surname) { Salary = salary; this.name = name; this.surname = surname; id = tl_id.GenerateID(status); }
/// <summary> /// retuns new_id /// </summary> public string Add(FlightPlan plan) { string new_id = GeneratorID.GenerateID(); PlansMutex.WaitOne(); FltPlans[new_id] = plan; PlansMutex.ReleaseMutex(); return(new_id); }