Beispiel #1
0
 public ActionResult Save(Bam.Net.Logging.Data.Event[] values)
 {
     try
     {
         EventCollection saver = new EventCollection();
         saver.AddRange(values);
         saver.Save();
         return(Json(new { Success = true, Message = "", Dao = "" }));
     }
     catch (Exception ex)
     {
         return(GetErrorResult(ex));
     }
 }