private MaintItemService CreateMaintItemService()
        {
            var userId  = Guid.Parse(User.Identity.GetUserId());
            var service = new MaintItemService(userId);

            return(service);
        }
        // GET: MaintItem
        public ActionResult Index()
        {
            ViewBag.SiteName = new SelectList(_db.ItemLocations, "LocationId", "SiteName");
            //return View(_db.MaintItems.ToList());

            //ViewBag.CustomerId = new SelectList(_db.Customers, "CustomerId", "FullName");
            var userId     = Guid.Parse(User.Identity.GetUserId());
            var service    = new MaintItemService(userId);
            var model      = service.GetMaintItems();
            var sortedList = model.OrderBy(item => item.ItemName).ToArray();

            return(View(model));
        }