public ActionResult Create(OnSiteOperator osOperator)
 {
     try {
         osOperator.OperatorID = Guid.NewGuid();
         _context.OnSiteOperators.AddObject(osOperator);
         _context.SaveChanges();
         return(RedirectToAction("Index"));
     } catch {
         return(Content("Something went wrong"));
     }
 }
 public ActionResult Delete(OnSiteOperator osOperator)
 {
     try {
         // TODO: Add delete logic here
         _context.OnSiteOperators.DeleteObject(GetOperatorByID(osOperator.OperatorID));
         _context.SaveChanges();
         return(RedirectToAction("Index"));
     } catch {
         return(Content("Something went wrong"));
     }
 }