Beispiel #1
0
 public IEnumerable <Model> Index()
 {
     try
     {
         return(objEmployee.GetAllEmployees());
     }
     catch (Exception e)
     {
         Console.WriteLine(e.Message);
         return(null);
     }
 }