public IActionResult SaveSeurityAccountPositions([FromBody] SaveSecurityPositionsRequest accountPosition) { if (accountPosition == null || String.IsNullOrWhiteSpace(accountPosition.AccountID)) { return(BadRequest()); } return(Ok(_accountsRepository.SaveSeurityAccountPositions(accountPosition))); }
public void SaveSeurityAccountPositions(SaveSecurityPositionsRequest accountPosition) { bool res = _accountsRepository.SaveSeurityAccountPositions(accountPosition); Assert.True(res == true); }