/// <summary>
        /// Method to create photo album
        /// </summary>
        /// <param name="objPhotoAlbum">Filled PhotoAlbum entity</param>
        /// <param name="objPhotoList">List of filled Photo entity</param>
        public int CreatePhotoAlbum(PhotoAlbum objPhotoAlbum, List<Photos> objPhotoList)
        {
            PhotoResource objPhotoResource = new PhotoResource();
            object photoAlbumId = 0;
            object[] param = { objPhotoAlbum };
            using (TransactionScope trans = new TransactionScope())
            {
                photoAlbumId = objPhotoResource.AddPhotoAlbum(param);

                if (!Equals(photoAlbumId, null))
                {
                    if (int.Parse(photoAlbumId.ToString()) > 0)
                        AddPhotos(objPhotoList, int.Parse(photoAlbumId.ToString()));
                    else
                        return int.Parse(photoAlbumId.ToString());
                }
                //Transaction Commited
                trans.Complete();
            }

            return int.Parse(photoAlbumId.ToString());
        }
        public int CreatePhotoAlbum(PhotoAlbum objPhotoAlbum)
        {
            PhotoResource objPhotoResource = new PhotoResource();
            object photoAlbumId = 0;
            object[] param = { objPhotoAlbum };
            using (TransactionScope trans = new TransactionScope())
            {
                photoAlbumId = objPhotoResource.AddPhotoAlbum(param);
                //Transaction Commited
                trans.Complete();
            }

            return int.Parse(photoAlbumId.ToString());
        }