public AgentVehicle Update(AgentVehicle agentvehicle) { agentvehicleRepository.Update(agentvehicle); return agentvehicle; }
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); } }
public AgentVehicle Add(AgentVehicle agentvehicle) { agentvehicleRepository.Add(agentvehicle); return agentvehicle; }