Beispiel #1
0
        static void Main(string[] args)
        {
            var model = new Model();
            model.Name = "heps";

            var service = new Service();

            service.MethodToTest(model);
        }
Beispiel #2
-1
        public void MethodToTest(Model model)
        {
            var dto = new DTO();
            dto.Name = model.Name;

            _repository.Save(dto);
        }