Exemplo n.º 1
0
 public ActionResult Save(Bam.Net.Analytics.Counter[] values)
 {
     try
     {
         CounterCollection saver = new CounterCollection();
         saver.AddRange(values);
         saver.Save();
         return(Json(new { Success = true, Message = "", Dao = "" }));
     }
     catch (Exception ex)
     {
         return(GetErrorResult(ex));
     }
 }