Example #1
0
        bool InterFacePhoto.AddPhoto(Photo photo)
        {
            PhotsAPI photsAPI = new PhotsAPI();

            photsAPI.AddPhoto(photo);
            return(true);
        }
Example #2
0
        public Photo GetPhotoById(int id)
        {
            PhotsAPI photsAPI = new PhotsAPI();

            return(photsAPI.GetPhotoById(id));
        }
Example #3
0
        public List <Photo> GetPhotos()
        {
            PhotsAPI photsAPI = new PhotsAPI();

            return(photsAPI.GetPhoto());
        }
Example #4
0
        void InterFacePhoto.UpdateIsRemoved(Photo photo)
        {
            PhotsAPI photsAPI = new PhotsAPI();

            photsAPI.UpdateIsRemoved(photo);
        }
Example #5
0
        List <Photo> InterFacePhoto.GetPhoto(int LocationId, int LandScapeId, int PersonId, int EventId)
        {
            PhotsAPI photsAPI = new PhotsAPI();

            return(photsAPI.GetPhoto(LocationId, LandScapeId, PersonId, EventId));
        }
Example #6
0
        bool InterFacePhoto.UpdatePhoto(Photo photo, int @eventId, int landScapeId, int personId, int locationId)
        {
            PhotsAPI photsAPI = new PhotsAPI();

            return(photsAPI.UpdatePhoto(photo, eventId, landScapeId, personId, locationId));
        }
Example #7
0
        bool InterFacePhoto.DeletePhoto(int id)
        {
            PhotsAPI photsAPI = new PhotsAPI();

            return(photsAPI.DeletePhoto(id));
        }