Hi

  I am new to angularjs, I am having a array in my application
  
   $scope.profilelist = [
         new Profile(1, "Mark", "Brunner",
         "[email protected]", "0999999999"),]

  On a button click of that scope i am adding Profiles inside the list 
using Push

  Finally i have another button inside same scope, on clicking i am using 
$.ajax call and passing data to my server

  $.ajax({
            url: "/Home/GetProfile",
            type: "POST",
            data: { 'profilelist':($scope.profilelist) },//(new 
Profile(1,"dd","dd","dd","dd")) });

Myservercode:

  public JsonResult GetProfile(List<Profile> profilelist)

 the server profileist length  and profilelist count is matching ,  but the 
values are empty


 Please help me

Regards
ccrkhere

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to