Example #1
0
        public async void CreateSvcTemplate()
        {
            var svcTemplateService = new SvcTemplateService(new MongoDataProvider("mongodb://localhost:27017"));
            var result             = await svcTemplateService.CreateSvcTemplate(new SvcTemplateEntity()
            {
                SvcTemplateId = 5
            });

            Assert.NotNull(result);
            Assert.True(result.Success);
        }
Example #2
0
 public SvcTemplateController(SvcTemplateService svcTemplateService)
 {
     this.svcTemplateService = svcTemplateService;
 }