public async Task <IActionResult> Update([FromBody] Models.Cars.CarProperty property) { var isSuccess = await CarPropertyLogic.Update(GetToken(), property); return(Ok(isSuccess)); }
public async Task <IActionResult> Delete(int propertyId) { var isSuccess = await CarPropertyLogic.Delete(GetToken(), propertyId); return(Ok(isSuccess)); }
public async Task <IActionResult> Get(int carId) { var list = await CarPropertyLogic.Get(GetToken(), carId); return(Ok(list)); }