Ejemplo n.º 1
0
 public AgentVehicle Update(AgentVehicle agentvehicle)
 {
     agentvehicleRepository.Update(agentvehicle);
     return agentvehicle;
 }
Ejemplo n.º 2
0
 public ActionResult DelAgentVehicle(AgentVehicle agentvehicle)
 {
     try
     {
         if (agentvehicle != null)
         {
             agentVehicleService.Remove(agentvehicle.Id);
             return Json(true);
         }
         return Json(false);
     }
     catch (Exception ex)
     {
         return Json(false);
     }
 }
Ejemplo n.º 3
0
 public AgentVehicle Add(AgentVehicle agentvehicle)
 {
     agentvehicleRepository.Add(agentvehicle);
     return agentvehicle;
 }