public decimal?GetOtherTaxes(decimal cabinValue, decimal portCharge, decimal totalValue) { return(_simpleLogicTest.GetOtherTaxes(new CruiseDTO() { CabinValue = cabinValue, PortCharge = portCharge, TotalValue = totalValue })); }
public ActionResult <string> Get(decimal cabinValue, decimal portCharge, decimal totalValue) { var result = _test.GetOtherTaxes(new CruiseDTO() { CabinValue = cabinValue, PortCharge = portCharge, TotalValue = totalValue }); return(new JsonResult(result)); }
public decimal?GetOtherTaxes(CruiseDTO cruise) { return(_simpleLogicTest.GetOtherTaxes(cruise)); }
public decimal?GetOtherTaxes([FromBody] CruiseDTO cruiseDTO) { return(_logicTest.GetOtherTaxes(cruiseDTO)); }