public bool createIll(string name_ill, string status_ill, int id_user_patient, int id_user_doctor) { ill Ill = new ill(); bool result = Ill.Create(name_ill, status_ill, id_user_patient, id_user_doctor); return(result); }
//create public int createUser(string name_user, string phone_user, string address_user, string email_user, int id_tier) { user patient = new user(); object result = patient.Create(name_user, phone_user, address_user, email_user, id_tier); int result2 = Convert.ToInt32(result); if (result2 > 0) { ill ill = new ill(); bool resultOfIll = ill.Create("Unknow", "Unknow", result2, 6); } return(result2); }