Posts by Allan Fernandes • 129 points
9 posts
-
1
votes1
answer59
viewsQ: Search information in the database in one SQL code line per logged in user
I have already been able to search all the dates of the database. However, I would like to search through a specific ID that is logged in to the system. Per session, in case. But this code is giving…
-
1
votes0
answers82
viewsQ: List a restaurant, from the item that is saved in the database, within a table Cart
I would like to list a Restaurant, where items from this same restaurant have been saved inside the cart. When saving the product of the cart, it pulls with it the ID of the restaurant. Follow my…
-
0
votes0
answers47
viewsQ: List data in a Dropdown related to the result of another Dropdown
I’m rephrasing that question, because it must not have been very clear. What I want is this: Choose a restaurant at Dropdown, and the next dropdown, list the times that were registered by that…
-
0
votes1
answer472
viewsQ: How to add/remove items within the Cart
I would like to make a simple Cart, where I used as a base some explanations here inside the same Stack. It follows below my Cart Controller: public class CarrinhoController : Controller { private…
-
0
votes1
answer807
viewsQ: Creation of a Shopping Cart
I want to create a Cart, where you have the Products that I will sell, the quantity and the total value. Does anyone have an idea of how I can start development? Just for clarification, follow my…
-
1
votes2
answers544
viewsQ: Change Color of an Error Message using Annotation
Where can I change the color of that ErrorMessage?…
-
4
votes1
answer90
viewsQ: How to list products from a single restaurant?
I registered my products in a particular restaurant. Being Restaurant(1) and Products(N), I have several products registered in a restaurant. How do I list these products for each restaurant? This…
-
0
votes1
answer60
viewsQ: List reservations by Administrator
I am trying to list my bookings by different administrators. However, as I did, it lists all bookings. That’s the method I’m using: public ActionResult Index() { Administrador administrador =…
-
4
votes2
answers84
viewsQ: How to list bookings registered by a single administrator? (1:N)
I register my attributes from the Reserve class, logged in as an Administrator. I would like to know how to list these registered reservations, by a specific administrator? Example: Administrator 1,…
c#asked Allan Fernandes 129