mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Move model names to singular.
This commit is contained in:
@@ -65,8 +65,8 @@ namespace cicm_web.Controllers
|
||||
public IActionResult View(int id)
|
||||
{
|
||||
ViewBag.WebRootPath = hostingEnvironment.WebRootPath;
|
||||
Companies company = _context.Companies.Where(c => c.Id == id).Include(c => c.Description)
|
||||
.Include(c => c.Machines).Include(c => c.Country).FirstOrDefault();
|
||||
Company company = _context.Companies.Where(c => c.Id == id).Include(c => c.Description)
|
||||
.Include(c => c.Machines).Include(c => c.Country).FirstOrDefault();
|
||||
|
||||
if(company == null) return Index();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user