/// <summary> /// Loads the boards data. /// </summary> public Response loadBoardsData(UserService us) { try { bController = new BoardController(us.getUcontroller()); bController.LoadData(); bController.Ucontroller = us.getUcontroller(); return(new Response()); } catch (KanbanException e) { log.Warn("could not load the boards, Error:" + e.Message); return(new Response(e.Message)); } catch (Exception e) { log.Error("could not load the boards, Error:" + e.Message); return(new Response(e.Message)); } }
/// <summary> /// Initializes a new instance of the <see cref="T:IntroSE.Kanban.Backend.ServiceLayer.BoardService"/> class. /// </summary> /// <param name="u">U.</param> public BoardService(UserService u) { this.bController = new BoardController(u.getUcontroller()); this.uService = u; }