I have a user table & I want whenever a user orders a product, its order should be saved in order table with user primary key, so what relationship I have to add in user and order table. please let me know
Suppose, this is my ActionMethod
public ActionResult Create( Student student)
{
if (ModelState.IsValid)
{
db.Students.Add(student);
db.SaveChanges();
return RedirectToAction("Index");
}
return View(student);
}
Database Relationship image
...
I am creating a big assessment form for VISA purpose. Now there will be a section where users will be able to add their education info.
...
I have downloaded asp.core project (MVC and angularjs version) and I would like to know how to implement paging sorting and filtering in asp.net boiler plate project using asp.net core
...I am trying to add Pagination in ASP.NET MVC using this link(https://qawithexperts.com/article/asp.net/paging-sorting-and-filtering-in-aspnet-mvc-c/31)
...Hi, I have set user details on my git using those commnads :
I want now to delete that user now, how can I do that in Visual Studio code and Git Thanks.
...Hello,
I am trying to have this kind of url
...