public void UpdatePhoneDetails(string phone_code, string phone, string phone_name, bool active) { int phone_id = int.Parse(phone_code); data_file.UpdatePhoneDetails(phone_id, phone, phone_name, active); }