I have the following two classes:...public Part {
public string PartNumber {get; set;}
public string Description {get; set;}
public List<Warehouse> Warehouses {get; set;}
}
public Warehouse {
public string PartNumber {get; set;}
publi...
I am unable to convert to return a json instead of a list. I tried using Newtonsoft.Json, but nothing worked. Either the error or returns null....[HttpGet]
public IActionResult GetUsers()
{
using (var context = new ProjectConte...
I have got below three methods and they are returning same return type and the only difference among these three methods is that the data is getting retrieved from different tables....Below are those methods....public IQueryable<SpaceFunctionType> GetSpac...