public IActionResult SaveRider([FromBody] RiderViewModel riderVm) { //MAP RIDER TO VM TO DTO var riderDto = _dataService.MapViewModelToDto(riderVm); _riderService.FullPagePost(riderDto); return(Ok()); }
public IActionResult SaveRider([FromBody] RiderViewModel riderVm) { //MAP RIDER TO VM TO DTO var riderDto = _dataService.MapViewModelToDto(riderVm); _riderService.FullPagePost(riderDto); return(Ok()); }