I\'m building a web app using Angular + Typescript. And I have ASP.NET Core Web API, I have two components one is employee and another is department,I want to run condition