bool InterFacePhoto.AddPhoto(Photo photo) { PhotsAPI photsAPI = new PhotsAPI(); photsAPI.AddPhoto(photo); return(true); }
public Photo GetPhotoById(int id) { PhotsAPI photsAPI = new PhotsAPI(); return(photsAPI.GetPhotoById(id)); }
public List <Photo> GetPhotos() { PhotsAPI photsAPI = new PhotsAPI(); return(photsAPI.GetPhoto()); }
void InterFacePhoto.UpdateIsRemoved(Photo photo) { PhotsAPI photsAPI = new PhotsAPI(); photsAPI.UpdateIsRemoved(photo); }
List <Photo> InterFacePhoto.GetPhoto(int LocationId, int LandScapeId, int PersonId, int EventId) { PhotsAPI photsAPI = new PhotsAPI(); return(photsAPI.GetPhoto(LocationId, LandScapeId, PersonId, EventId)); }
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)); }
bool InterFacePhoto.DeletePhoto(int id) { PhotsAPI photsAPI = new PhotsAPI(); return(photsAPI.DeletePhoto(id)); }