private CardDataMapper() { var lm = ListDataMapper.GetListDataMapper(); _cards = new List <CardsModel>(); var card = new CardsModel { Id = 1, List = lm.GetById(1), Name = "Data Mappers", InitialDate = new DateTime(), DueDate = new DateTime(), Idx = 1 }; _cards.Add(card); card = new CardsModel { Id = 2, List = lm.GetById(2), Name = "Etapa0", InitialDate = new DateTime(), DueDate = new DateTime(), Idx = 1 }; _cards.Add(card); _nextCid = 3; }
public static ListDataMapper GetListDataMapper() { return(_listDataMapper ?? (_listDataMapper = new ListDataMapper())); }