Exemple #1
0
        public async Task <IActionResult> DeleteRelationship([FromRoute] string entityId, [FromRoute] string childEntityId)
        {
            await _repository.DeleteRelationship <Entity, InvestorOf>(a => a.EntityId == entityId, b => b.EntityId == childEntityId, new InvestorOf());

            return(NoContent());
        }