public void m1() { int menu1; m1: Console.Clear(); Console.WriteLine("================== CREATE ==================="); isimenu(); Console.Write("Tentukan Pilihanmu : "); menu1 = Convert.ToInt32(Console.ReadLine()); switch (menu1) { case 1: RoleController panggilrole = new RoleController(); panggilrole.InsertRole(); Console.WriteLine("============================================="); Console.WriteLine("Sukses"); goto m1; case 2: DepartmentController panggildept = new DepartmentController(); panggildept.InsertDepartment(); Console.WriteLine("============================================="); Console.WriteLine("Sukses"); break; case 3: UserController panggiluser = new UserController(); panggiluser.InsertUser(); Console.WriteLine("============================================="); Console.WriteLine("Sukses"); break; case 4: TypeController panggildd = new TypeController(); panggildd.InsertDueDate(); Console.WriteLine("============================================="); Console.WriteLine("Sukses"); break; case 5: CategoryController panggilcat = new CategoryController(); panggilcat.InsertCategory(); Console.WriteLine("============================================="); Console.WriteLine("Sukses"); break; case 6: SubCategoryController panggilsubcat = new SubCategoryController(); panggilsubcat.InsertSubCategory(); Console.WriteLine("============================================="); Console.WriteLine("Sukses"); break; case 7: TicketController panggiltck = new TicketController(); panggiltck.InsertTicket(); Console.WriteLine("============================================="); Console.WriteLine("Sukses"); break; case 8: Console.Clear(); Console.WriteLine("Press Any Key..."); break; default: Console.WriteLine("Input Salah !!"); Console.WriteLine("\n"); goto m1; } Console.ReadKey(true); }