Example #1
0
        public void TestSPSave()
        {
            SystemParameter sp = EntityGenerator.GetSystemParameter();

            spr.Save(sp);

            SystemParameter act = spr.GetById(sp.Id);

            Assert.ReferenceEquals(act, sp);
        }
Example #2
0
        public DisplaySystemParametersModel GetSingle(Guid id)
        {
            var parameter = _systemParameterRepository.GetById(id);

            return(InitDisplaySystemParametersModel(parameter));
        }