public ActionResult Insert(EquipmentCalibrationDefinition equipmentCalibrationDefinition, int userId)
    {
        var res = equipmentCalibrationDefinition.Insert(userId);

        if (res.Success)
        {
            Session["Company"] = new Company(equipmentCalibrationDefinition.CompanyId);
        }

        return(res);
    }
 public ActionResult Update(EquipmentCalibrationDefinition equipmentCalibrationDefinition, int userId)
 {
     return(equipmentCalibrationDefinition.Update(userId));
 }