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

            return(NoContent());
        }