Beispiel #1
0
        public async Task AddManyAsync([FromBody] dynamic values)
        {
            JObject     @object  = JObject.Parse(values.ToString());
            StudentList students = @object.ToObject <StudentList>();

            Console.WriteLine(Newtonsoft.Json.JsonConvert.SerializeObject(students));
            await _student.AddManyAsync(students.Students);
        }