Ejemplo n.º 1
0
 public ResultModel Update(CompatibleSet compatibleSet)
 {
     _shopCompatiblesService.UpdateCompatibleSet(compatibleSet);
     return(ResultModel.Success);
 }
Ejemplo n.º 2
0
        public ResultModel Create(CompatibleSet compatibleSet)
        {
            int id = _shopCompatiblesService.CreateCompatibleSet(compatibleSet);

            return(new ResultModel(true, new { id = id }));
        }