public void AddLike(int Id)
 {
     using (var context = new PictureContext(_connectionString))
     {
         context.Picture.FirstOrDefault(p => p.Id == Id).Likes++;
         context.SaveChanges();
     }
 }
 public void AddPicture(Picture picture)
 {
     using (var context = new PictureContext(_connectionString))
     {
         context.Picture.Add(picture);
         context.SaveChanges();
     }
 }