Esempio n. 1
0
 public ActionResult FigureStoreList()//+
 {
     try
     {
         List <FigureStoreView> fsv = new List <FigureStoreView>();
         foreach (FiguresStoreBll fs in _figuresService.GetAllStores())
         {
             fsv.Add(new FigureStoreView(fs.Id, fs.Name, fs.Count, fs.GetAreas()));
         }
         FigureStoresView fsvList = new FigureStoresView()
         {
             FigureStores = fsv
         };
         return(View(fsvList));
     }
     catch (Exception ex)
     {
         return(HttpNotFound(ex.Message));
     }
 }