Exemple #1
0
        public void ReturnCreateView()
        {
            var result = sut.Create();
            var vr     = Assert.IsType <ViewResult>(result);

            Assert.Equal("Create", vr.ViewName);
        }
Exemple #2
0
 public void Init(WindowServiceInfo info)
 {
     ServiceInfo   = info;
     TheController = ServiceController.Create(info);
 }
Exemple #3
0
 public void AddService(Service Ser)
 {
     S_ctr.Create(Ser);
 }//Add a service