PICS 2312 commit abstract dao method

Please check the code