Пример #1
0
 public static Photos GetData(this PhotoModel item)
 {
     return(new Photos()
     {
         Id = item.Id,
         Name = item.Name,
         Path = item.Path,
         CreationDate = item.CreationDate,
         Location = item.Location,
         IsVideo = item.IsVideo,
         IsDeleted = item.IsDeleted
     });
 }
Пример #2
0
 public System.Threading.Tasks.Task UpdatePhotoAsync(MyPhotosManagerWCFService.Models.PhotoModel photo)
 {
     return(base.Channel.UpdatePhotoAsync(photo));
 }
Пример #3
0
 public void UpdatePhoto(MyPhotosManagerWCFService.Models.PhotoModel photo)
 {
     base.Channel.UpdatePhoto(photo);
 }
Пример #4
0
 public int CreatePhoto(MyPhotosManagerWCFService.Models.PhotoModel photo)
 {
     return(base.Channel.CreatePhoto(photo));
 }