Esempio n. 1
0
        public ActionResult Index()
        {
            StaffRepository     staff    = new StaffRepository();
            SuppliersRepository Supplier = new SuppliersRepository();

            staff.CreateStaff();
            staff.InsertStaff_StoredProcedure();
            staff.UpdateStaff();
            staff.GetStaff();
            //staff.DeleteWardStaffAllocation();
            //staff.DeleteStaff();
            staff.GetStaffView();

            Supplier.CreateSupplier();
            Supplier.UpdateSupplier();
            Supplier.GetSupplier();
            //Supplier.DeleteSupplier();

            return(View());
        }