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