public async Task <IActionResult> AssignAsset(CustomerAssetDTO customerAssetDTO) { bool status = false; try { if (customerAssetDTO != null) { customerAssetDTO.UpdatedDate = DateTime.Now; status = await _customerFacade.AssignAsset(customerAssetDTO); } } catch (Exception ex) { throw ex; } return(base.Ok(status)); }