Ejemplo n.º 1
0
        public ReadBoardDTO(Board b, string username, bool isAdmin, List <User> users)
        //: this(b)
        {
            Load(b);
            IsAdmin = isAdmin;

            CardList = ReadCardListDTO.FromEntityList(b.CardLists.ToList(), username);
            Users    = ReadUserDTO.FromEntityList(users);
        }
Ejemplo n.º 2
0
 public ReadBoardDTO(Board b)
 {
     Load(b);
     CardList = ReadCardListDTO.FromEntityList(b.CardLists.ToList());
 }