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

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