public MitchellClaim Get(string claimNumber) { var claim = new MitchellClaim() { ClaimNumber = claimNumber, ClaimantFirstName = "George", ClaimantLastName = "Washington", Status = ClaimStatus.OPEN, LossDate = DateTime.Now.AddDays(-1), AssignedAdjusterID = 1234567, LossInfo = new LossInformation() { CauseOfLoss = CauseOfLossCode.Collision, ReportedDate = DateTime.Now, LossDescription = "Crashed into an apple tree." }, Vehicles = new List<VehicleDetails>() { new VehicleDetails { Vin = "1M8GDM9AXKP042788", ModelYear = 2005, MakeDescription = "Ford", ModelDescription = "Mustang", EngineDescription = "EcoBoost", ExteriorColor = "Deep Impact Blue", LicPlate = "NO1PRES", LicPlateState = "VA", LicPlateExpDate = DateTime.Now.AddMonths(12), DamageDescription = "Front end smashed in. Apple dents in roof.", Mileage = 1776 } } }; return claimNumber.Equals("22c9c23bac142856018ce14a26b6c299") ? claim : null; }
public void Create(MitchellClaim claim) { //Add claim object to database }