public IEnumerable <UserSubscription> GetAllUserSubscriptionByOrganizationID(int OrganizationID, int ClientID) { return(Mapper.Map <IEnumerable <DTO.UserSubscription> >(_userSubscription.GetAllUserSubscriptionByOrganizationID(OrganizationID, ClientID))); }
public void GetAllUserSubscriptionByOrganizationID() { IEnumerable <BLModel.UserSubscription> userSubscription = _userSubscriptionBL.GetAllUserSubscriptionByOrganizationID(1, 14); Assert.IsTrue(userSubscription != null, "Unable to get"); }