public UsersBLL(IUsersDAL usersDAL, IUsersImagesDAL relationsDAL) { if (usersDAL == null || relationsDAL == null) { throw new ArgumentNullException("one of the dals is null"); } this.usersDAL = usersDAL; this.relationsDAL = relationsDAL; }