Ejemplo n.º 1
0
        public List <ResponseModel> GetCatsByOwnerGender()
        {
            List <RequestModel>         ownersList        = new List <RequestModel>();
            IEnumerable <ResponseModel> catsByOwnerGender = new List <ResponseModel>();

            ownersList = repository.GetOwners <List <RequestModel> >();

            catsByOwnerGender = repository.GetCatsByOwnerGender <List <ResponseModel> >(ownersList);
            return(catsByOwnerGender.ToList());
        }