Пример #1
0
 /// <summary>
 /// Simple public constructor.
 /// </summary>
 public Service()
 {
     us = new UserService();
     uc = new BusinessLayer.UserController();
     bc = uc.getBoardController();
     bs = new BoardService(bc);
     LoadData();
 }
Пример #2
0
 public Response LoadData(BusinessLayer.UserController uc)
 {
     try
     {
         uc.loadata();
     }
     catch (Exception e)
     {
         return(new Response(e.Message));
     }
     log.Info("Data loaded succesfully");
     return(new Response()); //Succesfull data load
 }