how can i dynamically set values to the name of country district city landmark
public class Region
{
public int id;
public string name;
public Country CountryInfo{get;set;} = new Country();
public City CityInfo{get; set;}= new City();
public District DistrictInfo{get...
I am Developing a web API in .net MVC how to access that API endpoint in my devices which are connected to my local network for testing on my phone? keyoti not working properly
For example, we have a car and it is the Parent class of Models so cars can have many models possible so while updating the car with models car is getting updated but models are not getting added or modified in Entity Framework .
public class Car{
public string name{get;set;}...
Which is Good To Use By View bag or By ViewModel
[HttpGet]
public ActionResult Edit(string searchedSiblingStudentName=null)
{
Viewbag.SearchedStudentName= searchedSiblingStudentName;
return View()
}
[/CODE]
[HttpGet]
public ActionResult Edit(string...
Below is My Controller action in the first line I have gotten the student from db and in 5 line I have use service function in which I have passed the student id which will again load the student from db is it good
public ActionResult DeleteStudentInterest(int studentId, String...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.