public NpcMmsSendListModel InitializeNpcMmsSendListModel(NpcMmsSendQueryItem queryItem) { var model = new NpcMmsSendListModel(); queryItem.UnitId = NpcContext.CurrentUser.Unit.Id; model.NpcMmsSendSearchModel.NpcMmsSendQueryItem = queryItem; model.NpcMmsSends = _npcMmsSendRepository.Query(queryItem); return model; }
public NpcMmsSendSearchModel() { NpcMmsSendQueryItem = new NpcMmsSendQueryItem(); }