public string SaveList(string list_code, string list_name, bool is_active) { int list_id = int.Parse(list_code); string area_code = HttpContext.Current.Session["AreaID"].ToString(); string user = HttpContext.Current.Session["Username"].ToString(); data_file.SaveList(list_id, list_name, is_active, area_code, user); if (list_id.Equals(0)) { return("SAVED"); } else { return("EDITED"); } }