Esempio n. 1
0
        public async Task<HttpResponseMessage> SaveAb(ABTest abtest)
        {
            await service.SaveAbTestAsync(abtest);

            return Request.CreateResponse(HttpStatusCode.OK);
        }
Esempio n. 2
0
 public string SaveAbTest(ABTest test)
 {
     context.AbTests.Add(test);
     context.SaveChanges();
     return ResponseStatuses.SUCCESS;
 }