public void ThenIOutputAllTheCatsInAlphabeticalOrder(string gender)
        {
            string jsonResp = ScenarioContext.Current[CommonConstants.SC_JSONRESPONSE].ToString();

            if (gender.Equals("Male"))
            {
                Console.WriteLine(gender + ".");
                AGLController.GetMaleOwnerCats(jsonResp);
            }
            else if (gender.Equals("Female"))
            {
                Console.WriteLine(gender + ".");
                AGLController.GetFemaleOwnerCats(jsonResp);
            }
        }
        public void ThenSendRequestToController()
        {
            string controller   = ScenarioContext.Current[CommonConstants.SC_CONTROLLER].ToString();
            string resourceName = ScenarioContext.Current[CommonConstants.SC_RESOURCE].ToString();

            switch (controller)
            {
            case CommonConstants.AGLSERVICE:
                AGLController.Execute();
                break;

            default:
                throw new Exception("Could not find the resource name");
            }
        }