Exemplo n.º 1
0
 public void SaveBlindRegions(SaveBlindRegionsDTO dto)
 {
     using (var tx = sessionContext.Session.BeginTransaction())
     {
         SaveLocalBlindregions(dto.Local);
         SaveCategoryBlindregions(dto.Category);
         SaveGlobalBlindregions(dto.Global);
         tx.Commit();
     }
 }
Exemplo n.º 2
0
 public ActionResult SaveBlindRegions([FromBody] SaveBlindRegionsDTO dto)
 {
     this.testCaseService.SaveBlindRegions(dto);
     return(ActionResultFactory.AjaxSuccess());
 }