Exemplo n.º 1
0
 public static BBPostModel CreateBBModel()
 {
     var BbPostModel = new BBPostModel
     {
         ChannelID = 1,
     ChannelName = "ChannelName1"
     };
     return BbPostModel;
 }
Exemplo n.º 2
0
 public static List<BBPostModel> CreateBBModelList()
 {
     var BbPostModel1 = CreateBBModel();
     var BbPostModel2 = new BBPostModel
     {
         ChannelID = 2,
         ChannelName = "ChannelName2"
     };
     var BBModelList = new List<BBPostModel>() { BbPostModel1, BbPostModel2 };
     return BBModelList;
 }