public ResultModel Update(CompatibleSet compatibleSet) { _shopCompatiblesService.UpdateCompatibleSet(compatibleSet); return(ResultModel.Success); }
public ResultModel Create(CompatibleSet compatibleSet) { int id = _shopCompatiblesService.CreateCompatibleSet(compatibleSet); return(new ResultModel(true, new { id = id })); }