Example #1
0
 public object Get(DataSourceLoadOptions loadOptions)
 {
     try
     {
         var glavnaMaster = GlavnaDAO.GetAllMasterObjects(HttpContext.Session.GetObjectFromJson <KorisnikModel>("LogovaniKorisnik"));
         return(DataSourceLoader.Load(glavnaMaster, loadOptions));
     }
     catch (Exception)
     {
         return(DataSourceLoader.Load(new List <GlavnaMasterModel>(), loadOptions));
     }
 }