public IActionResult DescriptionPhoto() { ServiceReference1.Service1 ph = new ServiceReference1.Service1(); ServiceReference1.DetaliiPhoto photo = ph.GetDescription(); return(View(DetaliiPhoto.descriere)); }
public IActionResult PeoplePhoto() { ServiceReference1.Service1 ph = new ServiceReference1.Service1(); ServiceReference1.DetaliiPhoto photo = ph.GetPeople(); return(View(DetaliiPhoto.people)); }
public IActionResult PathPhoto() { ServiceReference1.Service1 ph = new ServiceReference1.Service1(); ServiceReference1.MyPhotos myPhotos = ph.GetPath(); return(View(myPhotos.PathPhoto)); }
public IActionResult IndexPhoto() { ServiceReference1.Service1 ph = new ServiceReference1.Service1(); ServiceReference1.MyPhotos myPhotos = ph.FindPhotoById(); return(View(myPhotos.Photo)); }
public IActionResult Index() { ServiceReference1.Service1 ph = new ServiceReference1.Service1(); ServiceReference1.MyPhotos myPhotos = ph.GetAllPhotos(); return(View(myPhotos)); }
public IActionResult Index() { ServiceReference1.Service1 ph = new ServiceReference1.Service1(); ServiceReference1.MyPhotos myPhotos = ph.FindUserById(1); return(View(User)); }
private void Button_Click(object sender, RoutedEventArgs e) { this.AddToDebug("In Button_Click"); ThreadPool.QueueUserWorkItem(delegate { ServiceReference1.Service1Client client = new ServiceReference1.Service1Client(); ServiceReference1.Service1 asInterface = client; this.AddToDebug("Calling server \"synchronously\"..."); int result = asInterface.EndAdd(asInterface.BeginAdd(45, 67, null, null)); this.AddToDebug("Result: {0}", result); client.CloseAsync(); }); }