Example #1
0
 public JsonResult GetByName(string name = null)
 {
     if (name == null)
     {
         throw new ArgumentNullException();
     }
     return(Json(_studentBusiness.GetByName(name)));
 }