//done public List <Tag> GetTagsOfPhoto(Photo photo) { Photo fromDB = context.Photos.Include("Tags").Where(p => p.PhotoId == photo.PhotoId).FirstOrDefault(); return(fromDB.Tags.ToList()); }
public void DeleteTagFromPhoto(ModelWCF.Photo photo, ModelWCF.Tag tag) { base.Channel.DeleteTagFromPhoto(photo, tag); }
public System.Threading.Tasks.Task DeleteTagFromPhotoAsync(ModelWCF.Photo photo, ModelWCF.Tag tag) { return(base.Channel.DeleteTagFromPhotoAsync(photo, tag)); }
public int DeletePhoto(ModelWCF.Photo photo) { return(base.Channel.DeletePhoto(photo)); }
public System.Threading.Tasks.Task <int> DeletePhotoAsync(ModelWCF.Photo photo) { return(base.Channel.DeletePhotoAsync(photo)); }
public System.Threading.Tasks.Task <List <ModelWCF.Tag> > GetTagsOfPhotoAsync(ModelWCF.Photo photo) { return(base.Channel.GetTagsOfPhotoAsync(photo)); }
public List <ModelWCF.Tag> GetTagsOfPhoto(ModelWCF.Photo photo) { return(base.Channel.GetTagsOfPhoto(photo)); }
public System.Threading.Tasks.Task <int> AddTagToPhotoAsync(ModelWCF.Photo photo, ModelWCF.Tag tag) { return(base.Channel.AddTagToPhotoAsync(photo, tag)); }
public int AddTagToPhoto(ModelWCF.Photo photo, ModelWCF.Tag tag) { return(base.Channel.AddTagToPhoto(photo, tag)); }
public int AddPhoto(ModelWCF.Photo photo) { return(base.Channel.AddPhoto(photo)); }