Builde a Simple Program in C# and SQL SERVER and Layers TODAY URGENT

Job ID: 31659100

Budget: $15 – $25 USD

A promotions company made an offer to acquire a system that keeps track of
all your cards and clients.

The cards contain a number, expiration date, balance, discounts, status (Active, Low,
without balance, expired), item (free, clothing, groceries), they can be National or
international.

In addition, the National card knows the province where it is going to be used, and the international one the country
where it will be used.

Customers are known Name, Surname, DNI, Date of Birth and the associated card., By
regulation of the company to the customer can only associate one card.

Customers can only be offered free cards, that is, they are not associated with any other
customer, and the balance awarded depends on the customer's behavior.

When the customer uses a card, a discount is made on the purchase made, if it is
With a national card a discount of 25% is made and if it is an international one of 30%.
In order to use the card, it must have a balance, and it must be active.

The discounts are called "DiscountCalculated" since they return the Number and Type of
the card and the discount granted.

1. Develop the class model that represents the problem.
2. Make the class diagram on paper.
3. Classes must be in separate projects (6 layers, 5 classes and 1
WindowsForm)
4. Deploy with SQL Server Database
5. Carry out the ABM of Clients, and cards, the association of Cards, and the update of the
TJ when making purchases.
6. The graphical interface must contain an MDI, and the corresponding ABM forms, such as
also datagridview and combos.
7. Inform:
to. All clients and the card each one has
b. All cards and with the balance and accumulated discounts.
c. The card with the lowest amount
d. The card with the greatest discounts
8. Catch all errors (also SQL ones)
9. Handle transactions
10. Inheritance and polymorphism
11. For the item and / or state they can do it with Enum