public async Task <ActionResult> GetTechnologiesNotInEntity( [FromServices] ITechnologyRepository technologyRepository, [FromServices] IEntityRepository entityRepository, string entityId) { var technologies = await technologyRepository.FindTechnologiesNotInEntity(entityRepository, entityId); return(Ok(technologies)); }